diff --git a/AndroidManifest.xml b/AndroidManifest.xml index b14856c85ec..cb20622535f 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -166,11 +166,11 @@ android:parentActivityName="Settings"> - + - - + + @@ -341,7 +341,6 @@ @@ -354,7 +353,6 @@ @@ -364,8 +362,7 @@ - + @@ -375,8 +372,7 @@ android:value="com.android.settings.wifi.WifiAPITest" /> - + @@ -460,7 +456,6 @@ @@ -966,7 +961,6 @@ @@ -1431,7 +1424,6 @@ @@ -1466,7 +1458,6 @@ @@ -1788,7 +1779,6 @@ @@ -1803,7 +1793,6 @@ @@ -1817,7 +1806,6 @@ @@ -2371,8 +2359,7 @@ + android:configChanges="orientation|keyboardHidden|screenSize"> diff --git a/res/layout/preview_seek_bar_view_pager.xml b/res/layout/preview_seek_bar_view_pager.xml index e5dfa947585..5eb3543fc24 100644 --- a/res/layout/preview_seek_bar_view_pager.xml +++ b/res/layout/preview_seek_bar_view_pager.xml @@ -37,7 +37,6 @@ android:gravity="start|center" android:text="@string/screen_zoom_preview_title" android:textAppearance="@android:style/TextAppearance.Material.Widget.ActionBar.Title" - android:textColor="@color/seek_bar_preference_preview_text" android:importantForAccessibility="no" /> diff --git a/res/values/colors.xml b/res/values/colors.xml index 38eb74b5eae..300d73a2385 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -99,8 +99,6 @@ #4285f4 #ffffffff - #fff - @*android:color/material_grey_300 #858383 diff --git a/res/values/themes.xml b/res/values/themes.xml index 0241e1a7813..fe5b3cab367 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -195,13 +195,6 @@ ?android:attr/colorSecondary - - - - @@ -241,6 +227,7 @@ diff --git a/src/com/android/settings/SettingsActivity.java b/src/com/android/settings/SettingsActivity.java index 13bc0488d3b..c01e4c40b1d 100644 --- a/src/com/android/settings/SettingsActivity.java +++ b/src/com/android/settings/SettingsActivity.java @@ -387,14 +387,10 @@ public class SettingsActivity extends SettingsDrawerActivity final boolean isSubSettings = this instanceof SubSettings || intent.getBooleanExtra(EXTRA_SHOW_FRAGMENT_AS_SUBSETTING, false); - // If this is a sub settings, then apply the SubSettings Theme for the ActionBar content insets + // If this is a sub settings, then apply the SubSettings Theme for the ActionBar content + // insets if (isSubSettings) { - // Check also that we are not a Theme Dialog as we don't want to override them - final int themeResId = getThemeResId(); - if (themeResId != R.style.Theme_DialogWhenLarge && - themeResId != R.style.Theme_SubSettingsDialogWhenLarge) { - setTheme(R.style.Theme_SubSettings); - } + setTheme(R.style.Theme_SubSettings); } setContentView(mIsShowingDashboard ?