diff options
Diffstat (limited to 'src_pd')
-rw-r--r-- | src_pd/com/android/camera/debug/LogHelper.java | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src_pd/com/android/camera/debug/LogHelper.java b/src_pd/com/android/camera/debug/LogHelper.java index bfb8e8fa1..1f98b1551 100644 --- a/src_pd/com/android/camera/debug/LogHelper.java +++ b/src_pd/com/android/camera/debug/LogHelper.java @@ -15,18 +15,20 @@ */ package com.android.camera.debug; -import android.content.Context; - public class LogHelper { - public static void initialize(Context context) { - // Do nothing. + private static class Singleton { + private static final LogHelper INSTANCE = new LogHelper(); + } + + public static LogHelper instance() { + return Singleton.INSTANCE; } /** * Return a valid log level from {@link android.util.Log} to override * the system log level. Return 0 to instead defer to system log level. */ - public static int getOverrideLevel() { + public int getOverrideLevel() { return 0; } }
\ No newline at end of file |