From 4fa74a4f1c9333df08a0add8ba2f0bdbc6407b18 Mon Sep 17 00:00:00 2001 From: Calin Juravle Date: Mon, 17 Jun 2019 17:22:19 -0700 Subject: 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 --- cmds/installd/binder/android/os/IInstalld.aidl | 2 ++ 1 file changed, 2 insertions(+) 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; } -- cgit v1.2.3