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

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

Merge "Fix enable-exclusive atomic api" into sc-dev

parents 1fd62ba7 9ee6c8db
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -335,6 +335,7 @@ final class OverlayManagerShellCommand extends ShellCommand {

        final List<OverlayInfo> overlaysForTarget =
                mInterface.getOverlayInfosForTarget(overlayInfo.targetPackageName, userId);
        overlaysForTarget.remove(overlayInfo);
        final OverlayManagerTransaction.Builder builder = new OverlayManagerTransaction.Builder();
        for (final OverlayInfo disableOverlay : overlaysForTarget) {
            if ((inCategory && !Objects.equals(disableOverlay.category,overlayInfo.category))