Don't allow mounting system on user builds
Change-Id: I7138c307ae6d7996d9fcf1cf280730ff6fb5ccf9
This commit is contained in:
parent
2384f9a92e
commit
2293566829
1 changed files with 4 additions and 0 deletions
|
@ -458,6 +458,10 @@ int main(int argc, char** argv) {
|
|||
device->RemoveMenuItemForAction(Device::ENTER_RESCUE);
|
||||
}
|
||||
|
||||
if (get_build_type() == "user") {
|
||||
device->RemoveMenuItemForAction(Device::MOUNT_SYSTEM);
|
||||
}
|
||||
|
||||
ui->SetBackground(RecoveryUI::NONE);
|
||||
if (show_text) ui->ShowText(true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue