summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2012-08-13 13:17:12 -0700
committerandroid code review <noreply-gerritcodereview@google.com>2012-08-13 13:17:12 -0700
commit42eb3fb2584b61aa27a4f89dd06817162f69fb3c (patch)
treeec05a56ed9b5d03dd540dbfbb466c2ebb49ac18b
parentd7db6baac7e7d6742916cf1f80e9cbf832b1c64d (diff)
parent66e7f0a3935f7d0162a52bf65905c2904a65c2f1 (diff)
downloadpackages_apps_settings-42eb3fb2584b61aa27a4f89dd06817162f69fb3c.zip
packages_apps_settings-42eb3fb2584b61aa27a4f89dd06817162f69fb3c.tar.gz
packages_apps_settings-42eb3fb2584b61aa27a4f89dd06817162f69fb3c.tar.bz2
Merge "Fix the issue the setting crashes after unmount SD card in landscape"
-rw-r--r--src/com/android/settings/deviceinfo/Memory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/deviceinfo/Memory.java b/src/com/android/settings/deviceinfo/Memory.java
index cb344bf..cabc6e9 100644
--- a/src/com/android/settings/deviceinfo/Memory.java
+++ b/src/com/android/settings/deviceinfo/Memory.java
@@ -57,8 +57,8 @@ public class Memory extends SettingsPreferenceFragment {
// The mountToggle Preference that has last been clicked.
// Assumes no two successive unmount event on 2 different volumes are performed before the first
// one's preference is disabled
- private Preference mLastClickedMountToggle;
- private String mClickedMountPoint;
+ private static Preference mLastClickedMountToggle;
+ private static String mClickedMountPoint;
// Access using getMountService()
private IMountService mMountService = null;