OSDN Git Service
(root)
/
android-x86
/
packages-apps-Settings.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Always show unmount confirmation dialog
[android-x86/packages-apps-Settings.git]
/
src
/
com
/
android
/
settings
/
deviceinfo
/
Memory.java
diff --git
a/src/com/android/settings/deviceinfo/Memory.java
b/src/com/android/settings/deviceinfo/Memory.java
index
6e7af5c
..
069e1bf
100644
(file)
--- a/
src/com/android/settings/deviceinfo/Memory.java
+++ b/
src/com/android/settings/deviceinfo/Memory.java
@@
-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() {