Merge "Change Never Option to lock private space after device restart" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
7e3d30c95f
@@ -19,7 +19,7 @@ package com.android.settings.privatespace;
|
||||
import static android.os.UserManager.USER_TYPE_PROFILE_PRIVATE;
|
||||
import static android.provider.Settings.Secure.HIDE_PRIVATESPACE_ENTRY_POINT;
|
||||
import static android.provider.Settings.Secure.PRIVATE_SPACE_AUTO_LOCK;
|
||||
import static android.provider.Settings.Secure.PRIVATE_SPACE_AUTO_LOCK_NEVER;
|
||||
import static android.provider.Settings.Secure.PRIVATE_SPACE_AUTO_LOCK_AFTER_DEVICE_RESTART;
|
||||
import static android.provider.Settings.Secure.USER_SETUP_COMPLETE;
|
||||
|
||||
import android.app.ActivityManager;
|
||||
@@ -63,7 +63,8 @@ public class PrivateSpaceMaintainer {
|
||||
public static final int HIDE_PRIVATE_SPACE_ENTRY_POINT_ENABLED_VAL = 1;
|
||||
/** Default value for private space auto lock settings. */
|
||||
@Settings.Secure.PrivateSpaceAutoLockOption
|
||||
public static final int PRIVATE_SPACE_AUTO_LOCK_DEFAULT_VAL = PRIVATE_SPACE_AUTO_LOCK_NEVER;
|
||||
public static final int PRIVATE_SPACE_AUTO_LOCK_DEFAULT_VAL =
|
||||
PRIVATE_SPACE_AUTO_LOCK_AFTER_DEVICE_RESTART;
|
||||
|
||||
public enum ErrorDeletingPrivateSpace {
|
||||
DELETE_PS_ERROR_NONE,
|
||||
|
Reference in New Issue
Block a user