Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94635995 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Checkpoint of new storage wizards.

Use frameworks/opt/setupwizard/library/ for consistent behavior and
styling on phones and tablets.  Implement every step of wizard flow
and connect them together, even though some steps are currently
non-functional.  All strings to match UX spec, with some adjustment.

Wizards inherit from helper base class.

New interstitials before unmounting or formatting private storage
to confirm user knows consequences.

Bug: 19993667
Change-Id: I2c774e1718d513805ee8aecfc96d066d4730450c
parent fc3bd5c0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ LOCAL_PRIVILEGED_MODULE := true
LOCAL_PROGUARD_FLAG_FILES := proguard.flags

include frameworks/opt/setupwizard/navigationbar/common.mk
include frameworks/opt/setupwizard/library/common.mk
include frameworks/base/packages/SettingsLib/common.mk

include $(BUILD_PACKAGE)
+31 −0
Original line number Diff line number Diff line
@@ -1441,6 +1441,37 @@
                android:resource="@id/storage_settings" />
        </activity>

        <!-- Exported for SystemUI to launch into -->
        <activity android:name=".deviceinfo.StorageWizardInit"
                android:theme="@style/SuwThemeMaterial.Light"
                android:taskAffinity="com.android.settings.storage_wizard"
                android:exported="true" />
        <activity android:name=".deviceinfo.StorageWizardFormatConfirm"
                android:taskAffinity="com.android.settings.storage_wizard"
                android:exported="false" />
        <activity android:name=".deviceinfo.StorageWizardFormatProgress"
                android:taskAffinity="com.android.settings.storage_wizard"
                android:exported="false" />
        <activity android:name=".deviceinfo.StorageWizardMigrate"
                android:taskAffinity="com.android.settings.storage_wizard"
                android:exported="false" />
        <activity android:name=".deviceinfo.StorageWizardMigrateConfirm"
                android:taskAffinity="com.android.settings.storage_wizard"
                android:exported="false" />
        <activity android:name=".deviceinfo.StorageWizardMigrateProgress"
                android:taskAffinity="com.android.settings.storage_wizard"
                android:exported="false" />
        <activity android:name=".deviceinfo.StorageWizardReady"
                android:taskAffinity="com.android.settings.storage_wizard"
                android:exported="false" />

        <activity android:name=".deviceinfo.StorageWizardMoveConfirm"
                android:taskAffinity="com.android.settings.storage_wizard"
                android:exported="false" />
        <activity android:name=".deviceinfo.StorageWizardMoveProgress"
                android:taskAffinity="com.android.settings.storage_wizard"
                android:exported="false" />

        <activity android:name="ApnEditor"
                android:label="@string/apn_edit">
            <intent-filter>
+3.94 KiB
Loading image diff...
+8.66 KiB
Loading image diff...
+2.73 KiB
Loading image diff...
Loading