summaryrefslogtreecommitdiffstats
path: root/cmds/installd/installd.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-09-21 13:21:30 -0700
committerAndreas Gampe <agampe@google.com>2015-09-21 13:21:30 -0700
commit72ebebed876a62e719b098e43d9d516361bde029 (patch)
treeac56000344234fc0405e87e6ededb5bba58ebf9f /cmds/installd/installd.h
parentd693fc4c50873485794d1e0f444547d3253a56d3 (diff)
downloadframeworks_native-72ebebed876a62e719b098e43d9d516361bde029.zip
frameworks_native-72ebebed876a62e719b098e43d9d516361bde029.tar.gz
frameworks_native-72ebebed876a62e719b098e43d9d516361bde029.tar.bz2
Installd: Take boot status as dexopt parameter
Expect the boot status explicitly as a parameter so that we do not have to rely on dev.bootcomplete, which isn't meaningfully set when the device needs the decryption screen on boot. Bug: 23898216 Change-Id: I9b34298caf70b1e5d40970cc0d04c469016a80a7
Diffstat (limited to 'cmds/installd/installd.h')
-rw-r--r--cmds/installd/installd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/installd.h b/cmds/installd/installd.h
index 7ec5793..24b9084 100644
--- a/cmds/installd/installd.h
+++ b/cmds/installd/installd.h
@@ -243,7 +243,7 @@ int get_size(const char *uuid, const char *pkgname, int userid,
int free_cache(const char *uuid, int64_t free_size);
int dexopt(const char *apk_path, uid_t uid, bool is_public, const char *pkgName,
const char *instruction_set, int dexopt_needed, bool vm_safe_mode,
- bool debuggable, const char* oat_dir);
+ bool debuggable, const char* oat_dir, bool boot_complete);
int mark_boot_complete(const char *instruction_set);
int movefiles();
int linklib(const char* uuid, const char* pkgname, const char* asecLibDir, int userId);