summaryrefslogtreecommitdiff
path: root/core/java/android/content/ContentProviderClient.java
diff options
context:
space:
mode:
authorMathew Inwood <mathewi@google.com>2018-09-14 12:35:36 +0100
committerNathan Harold <nharold@google.com>2018-10-22 17:28:24 -0700
commit45d2c252b19c08bbd20acaaa2f52ae8518150169 (patch)
treed5c04325ae04d4a4d3ce46ac58a062f0eb536ad5 /core/java/android/content/ContentProviderClient.java
parent7fff7e5eff2640fac3729ff4f955f8e37cebf75f (diff)
Move some members to the "Q blacklist".
Based on some analysis, these fields/methods are likely false positives. Set maxTargetSdk=P so that any apps using them are required to migrate off them in future. See the bug for more details. Exempted-From-Owner-Approval: Automatic changes to the codebase affecting only @UnsupportedAppUsage annotations, themselves added without requiring owners approval earlier. Bug: 115609023 Test: m Merged-In: I719b5c94e5b1f4fa562dd5d655953422958ad37e Change-Id: I719b5c94e5b1f4fa562dd5d655953422958ad37e (cherry picked from commit 8c854f86a477fbbee38092f449333e1425e5cd7e)
Diffstat (limited to 'core/java/android/content/ContentProviderClient.java')
-rw-r--r--core/java/android/content/ContentProviderClient.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/content/ContentProviderClient.java b/core/java/android/content/ContentProviderClient.java
index 74f7958387ea..ef728f85ba56 100644
--- a/core/java/android/content/ContentProviderClient.java
+++ b/core/java/android/content/ContentProviderClient.java
@@ -24,6 +24,7 @@ import android.database.CrossProcessCursorWrapper;
import android.database.Cursor;
import android.net.Uri;
import android.os.Binder;
+import android.os.Build;
import android.os.Bundle;
import android.os.CancellationSignal;
import android.os.DeadObjectException;
@@ -71,7 +72,7 @@ public class ContentProviderClient implements AutoCloseable {
private final ContentResolver mContentResolver;
@UnsupportedAppUsage
private final IContentProvider mContentProvider;
- @UnsupportedAppUsage
+ @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 115609023)
private final String mPackageName;
private final boolean mStable;