fbe formatting: add warning for fbe devices and remove unused string
Change-Id: Id7af18a4c39932d8685e3265bfa158494ffd10f0
This commit is contained in:
@@ -2074,6 +2074,10 @@ bool TWPartition::Wipe_Encryption() {
|
||||
#ifndef TW_OEM_BUILD
|
||||
gui_msg("format_data_msg=You may need to reboot recovery to be able to use /data again.");
|
||||
#endif
|
||||
if (Is_FBE) {
|
||||
gui_msg(Msg(msg::kWarning, "data_media_fbe_msg=TWRP will not recreate /data/media on an FBE device. Please reboot into your rom to create /data/media."));
|
||||
}
|
||||
|
||||
ret = true;
|
||||
if (!Key_Directory.empty())
|
||||
ret = PartitionManager.Wipe_By_Path(Key_Directory);
|
||||
|
||||
Reference in New Issue
Block a user