am 8f2adcb1: am 228cefa8: am 3fb2b713: Merge "[ActivityManager] Reduce report ANR on wrong activity."
* commit '8f2adcb10e9ddf2cc06cc4af431c9afb7be9d79a': [ActivityManager] Reduce report ANR on wrong activity.
This commit is contained in:
2
services/core/java/com/android/server/am/ActivityRecord.java
Normal file → Executable file
2
services/core/java/com/android/server/am/ActivityRecord.java
Normal file → Executable file
@@ -956,8 +956,8 @@ final class ActivityRecord {
|
||||
// for another app to start, then we have paused dispatching
|
||||
// for this activity.
|
||||
ActivityRecord r = this;
|
||||
final ActivityStack stack = task.stack;
|
||||
if (r.waitingVisible) {
|
||||
final ActivityStack stack = mStackSupervisor.getFocusedStack();
|
||||
// Hmmm, who might we be waiting for?
|
||||
r = stack.mResumedActivity;
|
||||
if (r == null) {
|
||||
|
||||
Reference in New Issue
Block a user