Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44f2cc91 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "GmsCore is casting to a concrete subclass, sigh."

parents 5c8178d8 8b0db040
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -144,7 +144,12 @@ public class ContentProviderClient implements AutoCloseable {
            }
            final Cursor cursor = mContentProvider.query(mPackageName, url, projection, selection,
                    selectionArgs, sortOrder, remoteCancellationSignal);
            if ("com.google.android.gms".equals(mPackageName)) {
                // They're casting to a concrete subclass, sigh
                return cursor;
            } else {
                return new CursorWrapperInner(cursor);
            }
        } catch (DeadObjectException e) {
            if (!mStable) {
                mContentResolver.unstableProviderDied(mContentProvider);