summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Calin Juravle <calin@google.com> 2019-06-17 17:22:19 -0700
committer Calin Juravle <calin@google.com> 2019-12-10 03:04:10 +0000
commit41be5ad8803f568d3f0112fab5a4ec9fa23d525e (patch)
tree4e259c8082977dbb95d7628b41a2bfe12a230bac
parent8fc7c37cfd27b544cc625017f2de554b65fc4eb6 (diff)
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 26e9984f11..d99bcc8d13 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;
}