mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-05 18:36:49 +00:00
Merge "Set package name on the floating intent" into tm-qpr-dev am: dea0a2466b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20027851 Change-Id: I6800ea518cd6af0194eeda4f89908428f25fb29e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -68,7 +68,7 @@ public class FloatingTaskIntentResolver {
|
||||
return null;
|
||||
}
|
||||
ComponentName component = new ComponentName(packageName, activityName);
|
||||
Intent intent = new Intent(action).setComponent(component);
|
||||
Intent intent = new Intent(action).setComponent(component).setPackage(packageName);
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
Log.d(TAG, "createIntent returning: " + intent);
|
||||
return intent;
|
||||
|
||||
Reference in New Issue
Block a user