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

Commit dd868fe6 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Clear flags from inital install intent

Test: Tried to reproduce bug. With change bug cannot be reproduced anymore
Change-Id: I570a64fb56fecdffa9548d0783f88473c64a85c9
Fixes: 32623862
parent 3450ba84
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ public class InstallStart extends Activity {
        int originatingUid = getOriginatingUid(sourceInfo);

        Intent nextActivity = new Intent(intent);
        nextActivity.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
        nextActivity.setFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);

        // The the installation source as the nextActivity thinks this activity is the source, hence
        // set the originating UID and sourceInfo explicitly