Merge "Temporary patch to work around broken casting."

This commit is contained in:
Jeff Sharkey
2016-01-11 03:41:22 +00:00
committed by Android (Google) Code Review

View File

@@ -148,7 +148,8 @@ public class ContentProviderClient implements AutoCloseable {
return null;
}
if ("com.google.android.gms".equals(mPackageName)) {
if ("com.google.android.gms".equals(mPackageName)
|| "com.google.android.syncadapters.contacts".equals(mPackageName)) {
// They're casting to a concrete subclass, sigh
return cursor;
} else {