Use topComponent to get package name am: 53ad207008
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17338873 Change-Id: Ie6b7f3c13a3719809f3544ba0dcb9a812f87eaa1
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