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