mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
Use topComponent to get package name
task.topActivity can be null Fixes: 226232720 Test: manual Change-Id: I7d0c928871d01402bf41bc96514aae7854045baf
This commit is contained in:
@@ -111,7 +111,7 @@ public class SplitSelectStateController {
|
||||
if (mInitialTaskIntent != null) {
|
||||
fillInIntent = new Intent();
|
||||
if (TextUtils.equals(mInitialTaskIntent.getComponent().getPackageName(),
|
||||
task.topActivity.getPackageName())) {
|
||||
task.getTopComponent().getPackageName())) {
|
||||
fillInIntent.addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user