Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ceff6537 authored by Mady Mellor's avatar Mady Mellor
Browse files

Set package name on the floating intent

Test: treehugger
Bug: 237678727
Change-Id: I70923e62893cd6578fa3fa21e025cd5cf5e15edf
parent 418b1f8e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;