[Setup] Theme ChooseLockGeneric for setup wizard
This is step one of theming the set-up lock screen flow to match the
setup wizard theme. This shows the general approach of creating a
subclass of both the activity and fragment and overriding methods to
achieve the desired behavior for setup.
ag/594000 is a much more comprehensive change for what the final
change will look like.
Bug: 18482708
Change-Id: Idff34937f39f46a0c488df2cae4c46155b80cab7
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 5b29c06..5c889f4 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1133,6 +1133,16 @@
android:exported="false"
android:windowSoftInputMode="stateVisible|adjustResize"/>
+ <activity android:name="SetupChooseLockGeneric"
+ android:taskAffinity="com.android.wizard"
+ android:theme="@style/SetupWizardDisableAppStartingTheme"
+ android:label="@string/lockpassword_choose_lock_generic_header">
+ <intent-filter>
+ <action android:name="com.android.settings.SETUP_LOCK_SCREEN" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
+
<activity android:name="ChooseLockGeneric"
android:label="@string/lockpassword_choose_lock_generic_header"
android:excludeFromRecents="true" >