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

Commit b0a87431 authored by Chong Zhang's avatar Chong Zhang
Browse files

Add the null ptr check that's not merged in master

ag/1379112 merged to DR branch had an extra null ptr check,
this shouldn't really happen but merge it to master to keep
the branch consistent.

Change-Id: I5047188729be26a7b7190b2ab3f5d8274bca32d5
parent afc0c73a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2561,7 +2561,7 @@ final class ActivityStack {
                    // what's left last time.
                    for (int i = next.newIntents.size() - 1; i >= 0; i--) {
                        final Intent intent = next.newIntents.get(i);
                        if (!ActivityRecord.isMainIntent(intent)) {
                        if (intent != null && !ActivityRecord.isMainIntent(intent)) {
                            allowSavedSurface = false;
                            break;
                        }