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

Commit 501d4a51 authored by Adam Powell's avatar Adam Powell
Browse files

Fix a bug with updating extras in a PendingIntent with an intent stack

Change-Id: I52e2677635b588b7301dd938e1dd32f94241cf5a
parent 427db9b3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4376,7 +4376,8 @@ public final class ActivityManagerService extends ActivityManagerNative
            if (!cancelCurrent) {
                if (updateCurrent) {
                    if (rec.key.requestIntent != null) {
                        rec.key.requestIntent.replaceExtras(intents != null ? intents[0] : null);
                        rec.key.requestIntent.replaceExtras(intents != null ?
                                intents[intents.length - 1] : null);
                    }
                    if (intents != null) {
                        intents[intents.length-1] = rec.key.requestIntent;