Treat everyone the same.

Bug: 29746499
Change-Id: I8344e42c5c55e5414bcc223e4caa857dc06de750
This commit is contained in:
Jeff Sharkey
2016-06-29 15:24:37 -06:00
parent b59b5a679a
commit 7678aeddd9

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);