Fix issues #3257701 and #3267312
3257701 Preference headers have duplicated "title" and "summary" if
title is not loaded from a resource
3267312 Fragment.onConfigurationChanged doesn't get called
Change-Id: I76e346ba88aa632ebb9aa413a2ce2645ebf357cd
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java
index d679ef6..aaebbd0 100644
--- a/core/java/android/app/Activity.java
+++ b/core/java/android/app/Activity.java
@@ -1403,6 +1403,8 @@
public void onConfigurationChanged(Configuration newConfig) {
mCalled = true;
+ mFragments.dispatchConfigurationChanged(newConfig);
+
if (mWindow != null) {
// Pass the configuration changed event to the window
mWindow.onConfigurationChanged(newConfig);
@@ -1566,6 +1568,7 @@
public void onLowMemory() {
mCalled = true;
+ mFragments.dispatchLowMemory();
}
/**