diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-09-24 19:41:22 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-09-24 19:41:22 +0000 |
commit | c2e6f0410c3d730bfc043ecd90b13df8c4536464 (patch) | |
tree | 3097d45168b65d735e73f91fc40b7dc740155d9f /recovery_main.cpp | |
parent | ff29eb7f12ffce5cfd63fb73c17d8ed170eed29e (diff) | |
parent | 7f41a2cc4dccb9af3cdaf23e6c61f90645cbc964 (diff) |
Merge "Enter into userspace fastboot only if the device supports it"
Diffstat (limited to 'recovery_main.cpp')
-rw-r--r-- | recovery_main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recovery_main.cpp b/recovery_main.cpp index 29a5865a..78350944 100644 --- a/recovery_main.cpp +++ b/recovery_main.cpp @@ -364,7 +364,8 @@ int main(int argc, char** argv) { std::string option = OPTIONS[option_index].name; if (option == "locale") { locale = optarg; - } else if (option == "fastboot") { + } else if (option == "fastboot" && + android::base::GetBoolProperty("ro.boot.logical_partitions", false)) { fastboot = true; } break; |