Add missing display ID

In the previous CL I missed the display ID for the other overload of the
method.

Bug: 175329765
Test: Manual
Change-Id: Ifd5a2583cb6211367b1170835ef66a513a812ca1
This commit is contained in:
Maurice Lam
2021-03-03 21:30:57 +00:00
parent 1ef54a4a36
commit 9258cf087c

View File

@@ -4398,7 +4398,10 @@ public class StatusBar extends SystemUI implements DemoMode,
*/
public static Bundle getActivityOptions(int displayId,
@Nullable RemoteAnimationAdapter animationAdapter) {
return getDefaultActivityOptions(animationAdapter).toBundle();
ActivityOptions options = getDefaultActivityOptions(animationAdapter);
options.setLaunchDisplayId(displayId);
options.setCallerDisplayId(displayId);
return options.toBundle();
}
/**