summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2019-06-17 17:22:19 -0700
committerLuca Stefani <luca.stefani.ge1@gmail.com>2020-04-13 14:08:26 +0200
commit4fa74a4f1c9333df08a0add8ba2f0bdbc6407b18 (patch)
treee4a72d97a7e57dd5d414bcb524e45ea8eac1cd9b
parentbdeb588641cdfc2c337ff84fd4e82b08d46f1f06 (diff)
downloadandroid_frameworks_native-4fa74a4f1c9333df08a0add8ba2f0bdbc6407b18.tar.gz
android_frameworks_native-4fa74a4f1c9333df08a0add8ba2f0bdbc6407b18.tar.bz2
android_frameworks_native-4fa74a4f1c9333df08a0add8ba2f0bdbc6407b18.zip
Add a separate flag in the installer for keeping ART profiles
Currently this is only use in the PackageManagerService. In follow up we should use this to integrate profile clearing in the same methods as AppDataClearing. Test: manual Bug: 135299330 (cherry picked from commit e8ef7b0bccd7e49bec7dc77fcf1f37d82c4e32df) Merged-In: I3bafdef769d7838d8048b7df4d7a779464104641 Change-Id: Ibe0493c7fad5f6ac67f99b058437154dbe87cf12
-rw-r--r--cmds/installd/binder/android/os/IInstalld.aidl2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/installd/binder/android/os/IInstalld.aidl b/cmds/installd/binder/android/os/IInstalld.aidl
index 26e9984f1..d99bcc8d1 100644
--- a/cmds/installd/binder/android/os/IInstalld.aidl
+++ b/cmds/installd/binder/android/os/IInstalld.aidl
@@ -127,4 +127,6 @@ interface IInstalld {
const int FLAG_USE_QUOTA = 0x1000;
const int FLAG_FORCE = 0x2000;
+
+ const int FLAG_CLEAR_APP_DATA_KEEP_ART_PROFILES = 0x20000;
}