summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/MenuHelper.java
diff options
context:
space:
mode:
authorChia-chi Yeh <chiachi@android.com>2010-12-20 18:04:53 +0800
committerChia-chi Yeh <chiachi@android.com>2010-12-20 18:04:53 +0800
commit5f039073a239fc8ebf94238c3dce24dc1cce865b (patch)
treee9f9d065dd2b01424a3e6025d9689a82f1c04bd5 /src/com/android/camera/MenuHelper.java
parent8303435a2466803e05dd99c60cdb2de074b79162 (diff)
downloadLegacyCamera-5f039073a239fc8ebf94238c3dce24dc1cce865b.zip
LegacyCamera-5f039073a239fc8ebf94238c3dce24dc1cce865b.tar.gz
LegacyCamera-5f039073a239fc8ebf94238c3dce24dc1cce865b.tar.bz2
Cleanup: Remove MenuHelper.closeSilently().
Change-Id: I449a10104615c402dbd36d615e845185063a9660
Diffstat (limited to 'src/com/android/camera/MenuHelper.java')
-rw-r--r--src/com/android/camera/MenuHelper.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/com/android/camera/MenuHelper.java b/src/com/android/camera/MenuHelper.java
index a90726b..39fd0b2 100644
--- a/src/com/android/camera/MenuHelper.java
+++ b/src/com/android/camera/MenuHelper.java
@@ -74,16 +74,6 @@ public class MenuHelper {
private static final String CAMERA_CLASS = "com.android.camera.Camera";
private static final String VIDEO_CAMERA_CLASS = "com.android.camera.VideoCamera";
- public static void closeSilently(Closeable c) {
- if (c != null) {
- try {
- c.close();
- } catch (Throwable e) {
- // ignore
- }
- }
- }
-
public static void confirmAction(Context context, String title,
String message, final Runnable action) {
OnClickListener listener = new OnClickListener() {