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
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() {