Merge "Apply dynamic color for Erase all data(factory reset screen" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ea1d3228b7
@@ -21,7 +21,6 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:theme="@style/GlifV3Theme.Footer"
|
|
||||||
android:icon="@drawable/ic_delete_accent"
|
android:icon="@drawable/ic_delete_accent"
|
||||||
app:sucHeaderText="@string/main_clear_title">
|
app:sucHeaderText="@string/main_clear_title">
|
||||||
|
|
||||||
|
@@ -19,7 +19,6 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:theme="@style/SudThemeGlifV3.DayNight"
|
|
||||||
android:id="@+id/setup_wizard_layout"
|
android:id="@+id/setup_wizard_layout"
|
||||||
android:icon="@drawable/ic_delete_accent"
|
android:icon="@drawable/ic_delete_accent"
|
||||||
app:sucHeaderText="@string/main_clear_confirm_title">
|
app:sucHeaderText="@string/main_clear_confirm_title">
|
||||||
|
@@ -28,6 +28,8 @@ import com.android.settings.enterprise.EnterprisePrivacySettings;
|
|||||||
import com.android.settings.overlay.FeatureFactory;
|
import com.android.settings.overlay.FeatureFactory;
|
||||||
import com.android.settings.security.SecuritySettingsFeatureProvider;
|
import com.android.settings.security.SecuritySettingsFeatureProvider;
|
||||||
|
|
||||||
|
import com.google.android.setupdesign.util.ThemeHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Top-level Settings activity
|
* Top-level Settings activity
|
||||||
*/
|
*/
|
||||||
@@ -164,6 +166,7 @@ public class Settings extends SettingsActivity {
|
|||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedState) {
|
protected void onCreate(Bundle savedState) {
|
||||||
setTheme(SetupWizardUtils.getTheme(this, getIntent()));
|
setTheme(SetupWizardUtils.getTheme(this, getIntent()));
|
||||||
|
ThemeHelper.trySetDynamicColor(this);
|
||||||
super.onCreate(savedState);
|
super.onCreate(savedState);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -176,6 +179,7 @@ public class Settings extends SettingsActivity {
|
|||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedState) {
|
protected void onCreate(Bundle savedState) {
|
||||||
setTheme(SetupWizardUtils.getTheme(this, getIntent()));
|
setTheme(SetupWizardUtils.getTheme(this, getIntent()));
|
||||||
|
ThemeHelper.trySetDynamicColor(this);
|
||||||
super.onCreate(savedState);
|
super.onCreate(savedState);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user