diff options
author | Andres Morales <anmorales@google.com> | 2015-05-08 08:30:33 -0700 |
---|---|---|
committer | Andres Morales <anmorales@google.com> | 2015-05-08 17:23:24 -0700 |
commit | db5f5d43679546ecde2b85151c0a8b8ccd605b07 (patch) | |
tree | 1bbf60d1bb9e81fd4acce5467740b1134b456f17 /init/util.h | |
parent | e892a3f328b2db667e5059b93d4f8757a72ef5fd (diff) | |
download | system_core-db5f5d43679546ecde2b85151c0a8b8ccd605b07.zip system_core-db5f5d43679546ecde2b85151c0a8b8ccd605b07.tar.gz system_core-db5f5d43679546ecde2b85151c0a8b8ccd605b07.tar.bz2 |
load ro.recovery_id property from recovery partition
Change-Id: I9dc1f325e353375d9c1c8ed949636e2404601076
Diffstat (limited to 'init/util.h')
-rw-r--r-- | init/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/init/util.h b/init/util.h index 1c947ec..09d64cd 100644 --- a/init/util.h +++ b/init/util.h @@ -62,4 +62,5 @@ void import_kernel_cmdline(bool in_qemu, std::function<void(char*,bool)>); int make_dir(const char *path, mode_t mode); int restorecon(const char *pathname); int restorecon_recursive(const char *pathname); +std::string bytes_to_hex(const uint8_t *bytes, size_t bytes_len); #endif |