summaryrefslogtreecommitdiffstats
path: root/partitions.hpp
diff options
context:
space:
mode:
authorbig biff <bigbiff@teamw.in>2018-12-24 16:08:07 +0100
committerGerrit Code Review <gerrit2@gerrit.omnirom.org>2018-12-24 16:08:07 +0100
commit09ee3ea4227fd7046b5b0d54dc83371e218786d1 (patch)
tree5f2fc1a1e59572d5c66d335eb59bb63aa8f277bf /partitions.hpp
parentMerge "Add option to use ro.serialno for generating device id" into android-9.0 (diff)
parenttwrp: use ANDROID_ROOT environment variable (diff)
downloadandroid_bootable_recovery-09ee3ea4227fd7046b5b0d54dc83371e218786d1.tar
android_bootable_recovery-09ee3ea4227fd7046b5b0d54dc83371e218786d1.tar.gz
android_bootable_recovery-09ee3ea4227fd7046b5b0d54dc83371e218786d1.tar.bz2
android_bootable_recovery-09ee3ea4227fd7046b5b0d54dc83371e218786d1.tar.lz
android_bootable_recovery-09ee3ea4227fd7046b5b0d54dc83371e218786d1.tar.xz
android_bootable_recovery-09ee3ea4227fd7046b5b0d54dc83371e218786d1.tar.zst
android_bootable_recovery-09ee3ea4227fd7046b5b0d54dc83371e218786d1.zip
Diffstat (limited to 'partitions.hpp')
-rw-r--r--partitions.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/partitions.hpp b/partitions.hpp
index d780fe560..094c718de 100644
--- a/partitions.hpp
+++ b/partitions.hpp
@@ -332,6 +332,7 @@ public:
void Set_Active_Slot(const string& Slot); // Sets the active slot to A or B
string Get_Active_Slot_Suffix(); // Returns active slot _a or _b
string Get_Active_Slot_Display(); // Returns active slot A or B for display purposes
+ string Get_Android_Root_Path(); // Returns path of ANDROID_ROOT environment variable
struct pollfd uevent_pfd; // Used for uevent code
void Remove_Uevent_Devices(const string& sysfs_path); // Removes subpartitions from the Partitions vector for a matched uevent device
void Handle_Uevent(const Uevent_Block_Data& uevent_data); // Handle uevent data