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

Commit 27cf1baa authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix unsuspending personal apps." into rvc-dev

parents 6cf68098 46f58562
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -15742,9 +15742,11 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
            }
        }
        final int suspendedState = suspended
                ? PERSONAL_APPS_SUSPENDED_EXPLICITLY
                : PERSONAL_APPS_NOT_SUSPENDED;
        mInjector.binderWithCleanCallingIdentity(
                () -> applyPersonalAppsSuspension(
                        callingUserId, PERSONAL_APPS_SUSPENDED_EXPLICITLY));
                () -> applyPersonalAppsSuspension(callingUserId, suspendedState));
        DevicePolicyEventLogger
                .createEvent(DevicePolicyEnums.SET_PERSONAL_APPS_SUSPENDED)