[FRP] Theming for Pattern and Password screens
Basic theming for pattern and password screens. Create subclasses for ChooseLockPassword and ChooseLockPattern, and copied their XML layouts. This CL mainly uses the buttons in the original screens as-is, with a follow-up CL coming to change to use the nav bar buttons. Bug: 18482708 Change-Id: I81751f781de633aff23fc68657589360007c235a
This commit is contained in:
@@ -103,4 +103,10 @@ public class SetupWizardUtils {
|
||||
public static void setHeaderText(Activity activity, CharSequence text) {
|
||||
getHeader(activity).setText(text);
|
||||
}
|
||||
|
||||
public static void copySetupExtras(Intent fromIntent, Intent toIntent) {
|
||||
toIntent.putExtra(EXTRA_THEME, fromIntent.getStringExtra(EXTRA_THEME));
|
||||
toIntent.putExtra(EXTRA_USE_IMMERSIVE_MODE,
|
||||
fromIntent.getBooleanExtra(EXTRA_USE_IMMERSIVE_MODE, false));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user