Merge "[ActivityManager] fix NPE in ActivityStack.resetTargetTaskIfNeededLocked."
This commit is contained in:
@@ -2269,7 +2269,7 @@ final class ActivityStack {
|
|||||||
// In this case, we want to finish this activity
|
// In this case, we want to finish this activity
|
||||||
// and everything above it, so be sneaky and pretend
|
// and everything above it, so be sneaky and pretend
|
||||||
// like these are all in the reply chain.
|
// like these are all in the reply chain.
|
||||||
end = numActivities - 1;
|
end = activities.size() - 1;
|
||||||
} else if (replyChainEnd < 0) {
|
} else if (replyChainEnd < 0) {
|
||||||
end = i;
|
end = i;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user