Merge "Explicitly allow BAL from notifications and status bar."
This commit is contained in:
committed by
Android (Google) Code Review
commit
bd5932e3c6
@@ -122,6 +122,7 @@ public interface CentralSurfaces extends Dumpable, ActivityStarter, LifecycleOwn
|
||||
ActivityOptions options = getDefaultActivityOptions(animationAdapter);
|
||||
options.setLaunchDisplayId(displayId);
|
||||
options.setCallerDisplayId(displayId);
|
||||
options.setPendingIntentBackgroundActivityLaunchAllowed(true);
|
||||
return options.toBundle();
|
||||
}
|
||||
|
||||
@@ -145,6 +146,7 @@ public interface CentralSurfaces extends Dumpable, ActivityStarter, LifecycleOwn
|
||||
: ActivityOptions.SourceInfo.TYPE_NOTIFICATION, eventTime);
|
||||
options.setLaunchDisplayId(displayId);
|
||||
options.setCallerDisplayId(displayId);
|
||||
options.setPendingIntentBackgroundActivityLaunchAllowed(true);
|
||||
return options.toBundle();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user