diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2014-12-17 03:01:38 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2014-12-19 23:27:34 +0100 |
commit | 726a0206326ca4cf22aa7c59e174a83a0da9727f (patch) | |
tree | 5f0275dfed9c51b255e73feaeba609cd7a762da1 /gui | |
parent | Recovery init.rc setenforce 0 to make SELinux permissive (diff) | |
download | android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar.gz android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar.bz2 android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar.lz android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar.xz android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar.zst android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.zip |
Diffstat (limited to '')
-rw-r--r-- | gui/action.cpp | 1 | ||||
-rw-r--r-- | gui/partitionlist.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gui/action.cpp b/gui/action.cpp index 27fd7a5d7..ff2c2e00f 100644 --- a/gui/action.cpp +++ b/gui/action.cpp @@ -462,6 +462,7 @@ int GUIAction::doAction(Action action, int isThreaded /* = 0 */) gui_print("Simulating actions...\n"); } else if (!simulate) { PartitionManager.Mount_By_Path(arg, true); + PartitionManager.Add_MTP_Storage(arg); } else gui_print("Simulating actions...\n"); return 0; diff --git a/gui/partitionlist.cpp b/gui/partitionlist.cpp index 2d464e1b6..9cc6a777b 100644 --- a/gui/partitionlist.cpp +++ b/gui/partitionlist.cpp @@ -749,6 +749,7 @@ int GUIPartitionList::NotifyTouch(TOUCH_STATE state, int x, int y) if (!mList.at(actualSelection).selected) { if (PartitionManager.Mount_By_Path(mList.at(actualSelection).Mount_Point, true)) { mList.at(actualSelection).selected = 1; + PartitionManager.Add_MTP_Storage(mList.at(actualSelection).Mount_Point); mUpdate = 1; } } else { |