Merge "Use Correct feature flag for isLockTaskPermitted" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cc3a74b4b3
@@ -14725,7 +14725,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
|
|||||||
}
|
}
|
||||||
|
|
||||||
final int userId = mInjector.userHandleGetCallingUserId();
|
final int userId = mInjector.userHandleGetCallingUserId();
|
||||||
if (isPermissionCheckFlagEnabled()) {
|
if (isPolicyEngineForFinanceFlagEnabled()) {
|
||||||
LockTaskPolicy policy = mDevicePolicyEngine.getResolvedPolicy(
|
LockTaskPolicy policy = mDevicePolicyEngine.getResolvedPolicy(
|
||||||
PolicyDefinition.LOCK_TASK, userId);
|
PolicyDefinition.LOCK_TASK, userId);
|
||||||
if (policy == null) {
|
if (policy == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user