mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Pass empty bundle instead of null to startLaunchIntentTransition()
Bug: 391309665 Test: manual; launch app from AllApps tray when in Desktop Mode Flag: com.android.window.flags.enable_desktop_windowing_mode Change-Id: Ic31ed43f6f2de630b2d235028ebd9643a8a8cf49
This commit is contained in:
@@ -1682,7 +1682,7 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
|
||||
}
|
||||
if (areDesktopTasksVisible()) {
|
||||
ActivityOptionsWrapper opts = getActivityLaunchDesktopOptions(info);
|
||||
Bundle optionsBundle = opts == null ? null : opts.options.toBundle();
|
||||
Bundle optionsBundle = opts == null ? Bundle.EMPTY : opts.options.toBundle();
|
||||
mSysUiProxy.startLaunchIntentTransition(intent, optionsBundle, displayId);
|
||||
} else {
|
||||
startActivity(intent, null);
|
||||
|
||||
Reference in New Issue
Block a user