Don't display footer text when calling app is DPC.
If the calling app has admin rights (DA/DO/PO), don't display footer text that the calling app is 'recommending' that a password is set. Fixes: 131888973 Test: atest com.android.settings.password.SetNewPasswordActivityTest --verbose Test: atest com.android.settings.password.ChooseLockGenericTest --verbose Test: manual Change-Id: I32785d33e6425416fc1dbba24540ece8917b58f3
This commit is contained in:
@@ -60,6 +60,12 @@ public final class ChooseLockSettingsHelper {
|
||||
*/
|
||||
public static final String EXTRA_KEY_CALLER_APP_NAME = "caller_app_name";
|
||||
|
||||
/**
|
||||
* Intent extra indicating that the calling app is an admin, such as a Device Adimn, Device
|
||||
* Owner, or Profile Owner.
|
||||
*/
|
||||
public static final String EXTRA_KEY_IS_CALLING_APP_ADMIN = "is_calling_app_admin";
|
||||
|
||||
/**
|
||||
* When invoked via {@link ConfirmLockPassword.InternalActivity}, this flag
|
||||
* controls if we relax the enforcement of
|
||||
|
Reference in New Issue
Block a user