diff options
author | Ahbong Chang <cwahbong@google.com> | 2012-07-30 11:34:13 +0800 |
---|---|---|
committer | Ahbong Chang <cwahbong@google.com> | 2012-07-30 11:42:01 +0800 |
commit | 813ac7496e93faa2cf0f2763df421a146d38fc11 (patch) | |
tree | f4a1064166c83f8560cdf5eaeb18a4107fd344a5 /src/com/android/gallery3d/util/Profile.java | |
parent | dbc472eb08c19e78811823f8b83e59c3aeacc6d0 (diff) | |
download | android_packages_apps_Snap-813ac7496e93faa2cf0f2763df421a146d38fc11.tar.gz android_packages_apps_Snap-813ac7496e93faa2cf0f2763df421a146d38fc11.tar.bz2 android_packages_apps_Snap-813ac7496e93faa2cf0f2763df421a146d38fc11.zip |
Code clean up.
Remove unused imports.
Remove unused fields.
Remove unnecessary cast.
Add missing override annotations.
Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
Diffstat (limited to 'src/com/android/gallery3d/util/Profile.java')
-rw-r--r-- | src/com/android/gallery3d/util/Profile.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/util/Profile.java b/src/com/android/gallery3d/util/Profile.java index 6b6e5c3c3..7ed72c90e 100644 --- a/src/com/android/gallery3d/util/Profile.java +++ b/src/com/android/gallery3d/util/Profile.java @@ -32,6 +32,7 @@ import java.util.Random; // can be called in onPause() to ensure all profiling is disabled when an // activity is paused. public class Profile { + @SuppressWarnings("unused") private static final String TAG = "Profile"; private static final int NS_PER_MS = 1000000; @@ -56,6 +57,7 @@ public class Profile { private HandlerThread mHandlerThread; private Handler mHandler; private Runnable mProcessRunnable = new Runnable() { + @Override public void run() { synchronized (Watchdog.this) { processList(); |