Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3cad2606 authored by Kholoud Mohamed's avatar Kholoud Mohamed
Browse files

Use Correct feature flag for isLockTaskPermitted

Bug: 273494642
Test: btest android.devicepolicy.cts.LockTaskTest
Change-Id: Ib148780fd2d3f97a4aee9425a6d7972c8a434e5b
parent f21e41e1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -14724,7 +14724,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
        }
        final int userId = mInjector.userHandleGetCallingUserId();
        if (isPermissionCheckFlagEnabled()) {
        if (isPolicyEngineForFinanceFlagEnabled()) {
            LockTaskPolicy policy = mDevicePolicyEngine.getResolvedPolicy(
                    PolicyDefinition.LOCK_TASK, userId);
            if (policy == null) {
+3 −3

File changed.

Contains only whitespace changes.