Moved appNotResponding handling into ProcessRecord (23/n)
Allows for better seperation of AMS and ATMS, also the method mostly accessed internal variables in ProcessRecord so it make sense for it to be in that class. Also, move inputDispatchingTimedOut back to AM side because it involves lots of process stuff. Test: Existing test pass Bug: 80414790 Change-Id: I45b98dc550ff121e9df4bf004b2667af2426b79d
This commit is contained in:
@@ -244,4 +244,10 @@ public abstract class ActivityManagerInternal {
|
||||
public abstract void updateOomLevelsForDisplay(int displayId);
|
||||
public abstract boolean isActivityStartsLoggingEnabled();
|
||||
public abstract void reportCurKeyguardUsageEvent(boolean keyguardShowing);
|
||||
|
||||
/** Input dispatch timeout to a window, start the ANR process. */
|
||||
public abstract long inputDispatchingTimedOut(int pid, boolean aboveSystem, String reason);
|
||||
public abstract boolean inputDispatchingTimedOut(Object proc, String activityShortComponentName,
|
||||
ApplicationInfo aInfo, String parentShortComponentName, Object parentProc,
|
||||
boolean aboveSystem, String reason);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user