aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkai.cao <kai.cao@ck-telecom.com>2015-04-29 15:42:14 +0800
committerkai.cao <kai.cao@ck-telecom.com>2015-04-29 15:54:41 +0800
commitbd68f575327b3a1fde2ce4be83c0f837355d9be1 (patch)
tree8e9596b44b29524cd7efe4530d5e538fb40e29b5
parentc6a778c871ee092117305115c93bc93117c34ddd (diff)
downloadandroid_packages_apps_CMFileManager-bd68f575327b3a1fde2ce4be83c0f837355d9be1.tar.gz
android_packages_apps_CMFileManager-bd68f575327b3a1fde2ce4be83c0f837355d9be1.tar.bz2
android_packages_apps_CMFileManager-bd68f575327b3a1fde2ce4be83c0f837355d9be1.zip
[CMFileManager]Fix click two times when check the 'Skip media scan' in Secure storagestable/cm-12.1-YOG3C
Procedures 1.Go to “File Manager”. 2.Enter the secure directory and Press the menu button. 3.Press the Properties item. 4.Check the media scan. Pop "Failed to prevent media scanning" and should click again. Change-Id: I7990683e373c05fdfcee47bf5189820206bceba5
-rwxr-xr-x[-rw-r--r--]src/com/cyanogenmod/filemanager/ui/dialogs/FsoPropertiesDialog.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/cyanogenmod/filemanager/ui/dialogs/FsoPropertiesDialog.java b/src/com/cyanogenmod/filemanager/ui/dialogs/FsoPropertiesDialog.java
index 0c3ebf82..281a2af5 100644..100755
--- a/src/com/cyanogenmod/filemanager/ui/dialogs/FsoPropertiesDialog.java
+++ b/src/com/cyanogenmod/filemanager/ui/dialogs/FsoPropertiesDialog.java
@@ -367,7 +367,7 @@ public class FsoPropertiesDialog
// Check if we should show "Skip media scan" toggle
if (!FileHelper.isDirectory(this.mFso) ||
- !StorageHelper.isPathInStorageVolume(this.mFso.getFullPath())) {
+ !StorageHelper.isPathInStorageVolume(this.mFso.getFullPath()) || this.mFso.isSecure()) {
LinearLayout fsoSkipMediaScanView =
(LinearLayout)contentView.findViewById(R.id.fso_skip_media_scan_view);
fsoSkipMediaScanView.setVisibility(View.GONE);