diff options
author | Matt Mower <mowerm@gmail.com> | 2015-12-04 05:26:55 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2015-12-22 22:15:54 +0100 |
commit | 2d50cada066e7c84ebb5b7a3d973a35853cb9412 (patch) | |
tree | 0e29bcc9827790ab8030e498498ead351b17858e /data.cpp | |
parent | pixelflinger: Fix local src arch includes (diff) | |
download | android_bootable_recovery-2d50cada066e7c84ebb5b7a3d973a35853cb9412.tar android_bootable_recovery-2d50cada066e7c84ebb5b7a3d973a35853cb9412.tar.gz android_bootable_recovery-2d50cada066e7c84ebb5b7a3d973a35853cb9412.tar.bz2 android_bootable_recovery-2d50cada066e7c84ebb5b7a3d973a35853cb9412.tar.lz android_bootable_recovery-2d50cada066e7c84ebb5b7a3d973a35853cb9412.tar.xz android_bootable_recovery-2d50cada066e7c84ebb5b7a3d973a35853cb9412.tar.zst android_bootable_recovery-2d50cada066e7c84ebb5b7a3d973a35853cb9412.zip |
Diffstat (limited to 'data.cpp')
-rw-r--r-- | data.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -523,13 +523,7 @@ int DataManager::SetValue(const string varName, int value, int persist /* = 0 */ if (varName == "tw_use_external_storage") { string str; - if (GetIntValue(TW_HAS_DUAL_STORAGE) == 1) { - if (value == 0) { - str = GetStrValue(TW_INTERNAL_PATH); - } else { - str = GetStrValue(TW_EXTERNAL_PATH); - } - } else if (GetIntValue(TW_HAS_INTERNAL) == 1) + if (GetIntValue(TW_HAS_INTERNAL) == 1) str = GetStrValue(TW_INTERNAL_PATH); else str = GetStrValue(TW_EXTERNAL_PATH); |