Merge "Promote DISALLOW_RUN_IN_BACKGROUND to SystemAPI"
This commit is contained in:
committed by
Android (Google) Code Review
commit
0b2941fb09
@@ -3557,6 +3557,7 @@ package android.os {
|
||||
method public boolean isRestrictedProfile();
|
||||
field public static final java.lang.String ACTION_USER_RESTRICTIONS_CHANGED = "android.os.action.USER_RESTRICTIONS_CHANGED";
|
||||
field public static final deprecated java.lang.String DISALLOW_OEM_UNLOCK = "no_oem_unlock";
|
||||
field public static final java.lang.String DISALLOW_RUN_IN_BACKGROUND = "no_run_in_background";
|
||||
field public static final int RESTRICTION_NOT_SET = 0; // 0x0
|
||||
field public static final int RESTRICTION_SOURCE_DEVICE_OWNER = 2; // 0x2
|
||||
field public static final int RESTRICTION_SOURCE_PROFILE_OWNER = 4; // 0x4
|
||||
|
||||
@@ -791,6 +791,7 @@ public class UserManager {
|
||||
* @see #getUserRestrictions()
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
public static final String DISALLOW_RUN_IN_BACKGROUND = "no_run_in_background";
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user