summaryrefslogtreecommitdiff
path: root/fastboot/1.1-custom/Fastboot.h
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2022-05-11 20:43:25 +0300
committerSemavi Ulusoy <doc.divxm@gmail.com>2022-06-03 00:25:04 +0300
commit661f76b54703de6a74fd42e02a898ef8f04f0525 (patch)
tree0de8b5c9f7ed904c621930b9abc78315278d2610 /fastboot/1.1-custom/Fastboot.h
parent502c7d55343b6a253f5fc6c5f8ab49709441279a (diff)
fastboot: Implement oem getprop commandHEADs12.1
Loosely adapted doOemCommand from pixel fastboot HAL. Test: fastboot oem getprop ro.boot.project_codename (bootloader) ro.boot.project_codename:lemonade OKAY [ 0.000s] Finished. Total time: 0.000s Change-Id: Ied18e52a793a2fab62bb6a01a713c1c421b634fa
Diffstat (limited to 'fastboot/1.1-custom/Fastboot.h')
-rw-r--r--fastboot/1.1-custom/Fastboot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fastboot/1.1-custom/Fastboot.h b/fastboot/1.1-custom/Fastboot.h
index 09b39c2..b07d0b7 100644
--- a/fastboot/1.1-custom/Fastboot.h
+++ b/fastboot/1.1-custom/Fastboot.h
@@ -24,6 +24,8 @@ namespace fastboot {
namespace V1_1 {
namespace implementation {
+#define FB_OEM_GET_PROP "getprop"
+
using ::android::hardware::hidl_string;
using ::android::hardware::Return;
using ::android::hardware::Void;