diff options
author | Doris Liu <tianliu@google.com> | 2012-09-10 15:17:47 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-09-10 15:31:31 -0700 |
commit | b8a207b8b346c6c085e968e6e59d60ee2c6ef589 (patch) | |
tree | cb385c4e150c417ba37b3f7ec0de1a475a131400 /src | |
parent | 464b7559175f45b488bb24be3d16843f1bf80cd4 (diff) | |
download | android_packages_apps_Snap-b8a207b8b346c6c085e968e6e59d60ee2c6ef589.tar.gz android_packages_apps_Snap-b8a207b8b346c6c085e968e6e59d60ee2c6ef589.tar.bz2 android_packages_apps_Snap-b8a207b8b346c6c085e968e6e59d60ee2c6ef589.zip |
More logging added for monkey crash
The crash is difficult to repro. So I'm adding more logging here to help figure out what caused the crash next time it happens.
Bug: 6495745
Change-Id: Ib6a47f45e0508bc5def61fdc9f4e4a488b48ad92
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/gallery3d/data/MediaObject.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/data/MediaObject.java b/src/com/android/gallery3d/data/MediaObject.java index 87f567d7a..757515c10 100644 --- a/src/com/android/gallery3d/data/MediaObject.java +++ b/src/com/android/gallery3d/data/MediaObject.java @@ -91,7 +91,9 @@ public abstract class MediaObject { public Uri getContentUri() { String className = getClass().getName(); - throw new UnsupportedOperationException(className); + Log.e(TAG, "Class " + className + "should implement getContentUri."); + Log.e(TAG, "The object was created from path: " + getPath()); + throw new UnsupportedOperationException(); } public Uri getPlayUri() { |