Merge "Fix enable-exclusive atomic api" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ee57f57f5b
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user