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
Change-Id: I719b5c94e5b1f4fa562dd5d655953422958ad37e
This commit is contained in:
Mathew Inwood
2018-09-14 12:35:36 +01:00
parent d4bd94d644
commit 8c854f86a4
88 changed files with 215 additions and 142 deletions

View File

@@ -17,6 +17,7 @@ package android.graphics;
import android.annotation.UnsupportedAppUsage;
import android.content.res.AssetManager;
import android.os.Build;
import java.io.FileDescriptor;
import java.io.FileInputStream;
@@ -166,7 +167,7 @@ public final class BitmapRegionDecoder {
This can be called from JNI code.
*/
@UnsupportedAppUsage
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 115609023)
private BitmapRegionDecoder(long decoder) {
mNativeBitmapRegionDecoder = decoder;
mRecycled = false;