Treat everyone the same, redux.

Test: builds
Bug: 29746499
Change-Id: Id2a9aacf0db40cdd053d203897e792662c6d3cd0
This commit is contained in:
Jeff Sharkey
2016-11-16 01:11:12 +00:00
parent 3bda498b3f
commit 13deeafe46

View File

@@ -147,13 +147,7 @@ public class ContentProviderClient implements AutoCloseable {
if (cursor == null) {
return null;
}
if ("com.google.android.gms".equals(mPackageName)) {
// They're casting to a concrete subclass, sigh
return cursor;
} else {
return new CursorWrapperInner(cursor);
}
return new CursorWrapperInner(cursor);
} catch (DeadObjectException e) {
if (!mStable) {
mContentResolver.unstableProviderDied(mContentProvider);