OSDN Git Service

Always show unmount confirmation dialog
[android-x86/packages-apps-Settings.git] / src / com / android / settings / deviceinfo / Memory.java
index 6e7af5c..069e1bf 100644 (file)
@@ -257,7 +257,8 @@ public class Memory extends SettingsPreferenceFragment implements OnCancelListen
             return true;
         }
         */
-        return false;
+        // Better safe than sorry. Assume the storage is used to ask for confirmation.
+        return true;
     }
 
     private void unmount() {