signature-spoofing: add lint-baseline.txt entries for FAKE_PACKAGE_SIGNATURE UnflaggedApi

This commit is contained in:
oxmc
2026-06-04 05:51:41 -07:00
parent f1d1b1aeaa
commit 8bf9b69402
@@ -34,6 +34,20 @@ index a1d5522e6ace..dffe19603ab1 100644
field public static final String LOCATION = "android.permission-group.LOCATION";
field public static final String MICROPHONE = "android.permission-group.MICROPHONE";
field public static final String NEARBY_DEVICES = "android.permission-group.NEARBY_DEVICES";
diff --git a/core/api/lint-baseline.txt b/core/api/lint-baseline.txt
--- a/core/api/lint-baseline.txt
+++ b/core/api/lint-baseline.txt
@@ -1194,6 +1194,10 @@ Todo: android.provider.ContactsContract.RawContacts#newEntityIterator(android.da
Documentation mentions 'TODO'
+UnflaggedApi: android.Manifest.permission#FAKE_PACKAGE_SIGNATURE:
+ New API must be flagged with @FlaggedApi: field android.Manifest.permission.FAKE_PACKAGE_SIGNATURE
+UnflaggedApi: android.Manifest.permission_group#FAKE_PACKAGE:
+ New API must be flagged with @FlaggedApi: field android.Manifest.permission_group.FAKE_PACKAGE
UnflaggedApi: android.R.color#on_surface_disabled_material:
New API must be flagged with @FlaggedApi: field android.R.color.on_surface_disabled_material
UnflaggedApi: android.R.color#outline_disabled_material:
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 3a5dbd08dba5..ebba48a1acb1 100644
--- a/core/res/AndroidManifest.xml