diff options
| author | Jing Ji <jji@google.com> | 2021-05-09 00:23:05 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-05-09 00:23:05 +0000 |
| commit | d5c7dc045b8f1623b6577c95f0e1ff2a10adfaf2 (patch) | |
| tree | 669ae0757af35b169b358ecfb9587221c97594f5 /core/java/android | |
| parent | 919348e6e2c191a2545961966aa83842f7edf340 (diff) | |
| parent | 6cf25139a0c4625a753f84183c641e83e89ec8fb (diff) | |
Merge "Kill process if it's cached & idle and in forced-app-standby mode" into sc-dev
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/app/ApplicationExitInfo.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/app/ApplicationExitInfo.java b/core/java/android/app/ApplicationExitInfo.java index 8574678a5a02..c97ffbcfe5e7 100644 --- a/core/java/android/app/ApplicationExitInfo.java +++ b/core/java/android/app/ApplicationExitInfo.java @@ -325,6 +325,15 @@ public final class ApplicationExitInfo implements Parcelable { */ public static final int SUBREASON_ISOLATED_NOT_NEEDED = 17; + /** + * The process was killed because it's in forced-app-standby state, and it's cached and + * its uid state is idle; this would be set only when the reason is {@link #REASON_OTHER}. + * + * For internal use only. + * @hide + */ + public static final int SUBREASON_CACHED_IDLE_FORCED_APP_STANDBY = 18; + // If there is any OEM code which involves additional app kill reasons, it should // be categorized in {@link #REASON_OTHER}, with subreason code starting from 1000. |
