Start private space setup when there is no private space set
This change handles as below based on if private space already exists on device: 1. If PS doesn't exist then start the setup flow which shows a PS education screen. On setup button creates the private space. 2. If PS already exists on device then display PS settings page. Bug: 299069146 Test: atest PrivateSpaceSettingsAuthenticatorTest Change-Id: I46bdbaeb0210fd5b41a426f852e3f455b62c1c29
This commit is contained in:
@@ -1239,6 +1239,24 @@
|
||||
<string name="no_device_lock_action_label">Set screen lock</string>
|
||||
<!-- Action label to cancel Alert dialog when no screen lock is set [CHAR LIMIT=30] -->
|
||||
<string name="no_device_lock_cancel">Cancel</string>
|
||||
<!-- Action label to cancel Private Space Setup flow [CHAR LIMIT=50] -->
|
||||
<string name="privatespace_cancel_label">Cancel</string>
|
||||
<!-- Label for Private Space setup button to create Private Space [CHAR LIMIT=50] -->
|
||||
<string name="privatespace_setup_button_label">Set up</string>
|
||||
<!-- Title for Private Space setup education screen. [CHAR LIMIT=60] -->
|
||||
<string name="privatespace_setup_title">Set up Private Space</string>
|
||||
<!-- Summary for the Private Space setup education screen. [CHAR LIMIT=NONE] -->
|
||||
<string name="privatespace_hide_apps_summary">Hide private apps in a secure space that only you can access</string>
|
||||
<!-- Text shown in Private Space setup screen which explains how the Private Space works [CHAR LIMIT=NONE] -->
|
||||
<string name="privatespace_how_title">How it works</string>
|
||||
<!-- Text shown in Private Space setup screen which explains Private Space can be accessed from bottom of all apps list. [CHAR LIMIT=NONE] -->
|
||||
<string name="privatespace_access_bottom_text">You can access Private Space from the bottom of your apps list</string>
|
||||
<!-- Text shown in Private Space setup screen which explains Private Space apps are protected by a lock. [CHAR LIMIT=NONE] -->
|
||||
<string name="privatespace_protected_lock_text">Apps in Private Space are protected by a lock</string>
|
||||
<!-- Text shown in Private Space setup screen which explains notifications from Private Space apps will not be shown when Private Space is locked. [CHAR LIMIT=NONE] -->
|
||||
<string name="privatespace_hidden_notifications_text">Notifications from apps in Private Space are hidden when it\'s locked</string>
|
||||
<!-- Text shown in Private Space setup screen which explains that the permissions granted to Private Space apps will not be shown in settings when Private Space is locked. [CHAR LIMIT=NONE] -->
|
||||
<string name="privatespace_apps_permission_text">Private Space apps won\'t appear in permission manager, privacy dashboard, and other settings when Private Space is locked</string>
|
||||
|
||||
<!-- Text shown when "Add fingerprint" button is disabled -->
|
||||
<string name="fingerprint_add_max">You can add up to <xliff:g id="count" example="5">%d</xliff:g> fingerprints</string>
|
||||
|
||||
@@ -944,4 +944,40 @@
|
||||
<item name="android:fontFamily">google-sans-text</item>
|
||||
</style>
|
||||
|
||||
<style name="PrivateSpaceSetupTextFontStyle">
|
||||
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
||||
<item name="android:fontFamily">google-sans-text</item>
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
</style>
|
||||
|
||||
<style name="PrivateSpaceSetupSubHeaderStyle" parent="@style/PrivateSpaceSetupTextFontStyle">
|
||||
<item name="android:paddingLeft">24dp</item>
|
||||
<item name="android:paddingRight">24dp</item>
|
||||
<item name="android:paddingTop">20dp</item>
|
||||
<item name="android:paddingBottom">8dp</item>
|
||||
<item name="android:textSize">14sp</item>
|
||||
</style>
|
||||
|
||||
<style name="PrivateSpaceSetupBulletPointLayoutStyle">
|
||||
<item name="android:paddingLeft">24dp</item>
|
||||
<item name="android:paddingRight">24dp</item>
|
||||
<item name="android:paddingTop">16dp</item>
|
||||
<item name="android:paddingBottom">16dp</item>
|
||||
<item name="android:layout_width">fill_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
</style>
|
||||
|
||||
<style name="PrivateSpaceBulletPointTextFontStyle" parent="@style/PrivateSpaceSetupTextFontStyle">
|
||||
<item name="android:paddingLeft">16dp</item>
|
||||
<item name="android:textSize">16sp</item>
|
||||
</style>
|
||||
|
||||
<style name="PrivateSpaceBulletPointIconStyle">
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_alignParentLeft">true</item>
|
||||
<item name="android:layout_alignParentTop">true</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user