diff options
Diffstat (limited to 'src/com/android/camera/MenuHelper.java')
-rw-r--r-- | src/com/android/camera/MenuHelper.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/com/android/camera/MenuHelper.java b/src/com/android/camera/MenuHelper.java index 9859ff7..dff3870 100644 --- a/src/com/android/camera/MenuHelper.java +++ b/src/com/android/camera/MenuHelper.java @@ -570,20 +570,12 @@ public class MenuHelper { } boolean readOnly = image.isReadonly(); boolean isDrm = image.isDrm(); - if (Config.LOGV) { - Log.v(TAG, "readOnly: " + readOnly + "; drm: " + isDrm); - } + for (MenuItem item : requiresWriteAccessItems) { - if (Config.LOGV) { - Log.v(TAG, "item is " + item.toString()); - } item.setVisible(!readOnly); item.setEnabled(!readOnly); } for (MenuItem item : requiresNoDrmAccessItems) { - if (Config.LOGV) { - Log.v(TAG, "item is " + item.toString()); - } item.setVisible(!isDrm); item.setEnabled(!isDrm); } |