diff options
| author | Marco Ballesio <balejs@google.com> | 2020-05-01 05:13:51 -0700 |
|---|---|---|
| committer | Marco Ballesio <balejs@google.com> | 2020-05-05 15:22:43 -0700 |
| commit | 240bea3f476cde215948f00e41c5ee5db4e762f0 (patch) | |
| tree | 6432036077a5a8cb0bebd3fd2fb0b00298a1ec31 /core/java | |
| parent | 06028798b9e8ca1f42aa5791c6881a798ec68171 (diff) | |
ActivityManager API to check availability of app freezer
A method to verify the availability of the app freezer is required for
configuration code running in places like the Settings app
Bug: 155465196
Change-Id: I5779d263536091689a099eec0815f207dfbbf6ad
Test: verified its workings through the developer options CL
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/app/IActivityManager.aidl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/app/IActivityManager.aidl b/core/java/android/app/IActivityManager.aidl index 833bfed573b2..496ad0c99dfe 100644 --- a/core/java/android/app/IActivityManager.aidl +++ b/core/java/android/app/IActivityManager.aidl @@ -673,4 +673,9 @@ interface IActivityManager { * @param state The customized state data */ void setProcessStateSummary(in byte[] state); + + /** + * Return whether the app freezer is supported (true) or not (false) by this system. + */ + boolean isAppFreezerSupported(); } |
