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

Commit 9b2a0f16 authored by Adam Powell's avatar Adam Powell Committed by Android (Google) Code Review
Browse files

Merge "Fix a bug with updating extras in a PendingIntent with an intent stack" into jb-dev

parents 029abfdc 501d4a51
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;