Deprecates GET_INTENT_FILTERS in the PackageManager

This constant has never been used. The platform does not support
getting intent filters for the package.

Bug: 73780749
Test: Build
Change-Id: I907077b2a07e4a88aa8994ed3c25991b6d1172b4
This commit is contained in:
Rhed Jao
2020-10-07 17:41:46 +08:00
parent 5657694a20
commit 940cd5ae33
3 changed files with 5 additions and 2 deletions

View File

@@ -12254,7 +12254,7 @@ package android.content.pm {
field @Deprecated public static final int GET_DISABLED_UNTIL_USED_COMPONENTS = 32768; // 0x8000 field @Deprecated public static final int GET_DISABLED_UNTIL_USED_COMPONENTS = 32768; // 0x8000
field public static final int GET_GIDS = 256; // 0x100 field public static final int GET_GIDS = 256; // 0x100
field public static final int GET_INSTRUMENTATION = 16; // 0x10 field public static final int GET_INSTRUMENTATION = 16; // 0x10
field public static final int GET_INTENT_FILTERS = 32; // 0x20 field @Deprecated public static final int GET_INTENT_FILTERS = 32; // 0x20
field public static final int GET_META_DATA = 128; // 0x80 field public static final int GET_META_DATA = 128; // 0x80
field public static final int GET_PERMISSIONS = 4096; // 0x1000 field public static final int GET_PERMISSIONS = 4096; // 0x1000
field public static final int GET_PROVIDERS = 8; // 0x8 field public static final int GET_PROVIDERS = 8; // 0x8

View File

@@ -302,7 +302,10 @@ public abstract class PackageManager {
/** /**
* {@link PackageInfo} flag: return information about the * {@link PackageInfo} flag: return information about the
* intent filters supported by the activity. * intent filters supported by the activity.
*
* @deprecated The platform does not support getting {@link IntentFilter}s for the package.
*/ */
@Deprecated
public static final int GET_INTENT_FILTERS = 0x00000020; public static final int GET_INTENT_FILTERS = 0x00000020;
/** /**

View File

@@ -12254,7 +12254,7 @@ package android.content.pm {
field @Deprecated public static final int GET_DISABLED_UNTIL_USED_COMPONENTS = 32768; // 0x8000 field @Deprecated public static final int GET_DISABLED_UNTIL_USED_COMPONENTS = 32768; // 0x8000
field public static final int GET_GIDS = 256; // 0x100 field public static final int GET_GIDS = 256; // 0x100
field public static final int GET_INSTRUMENTATION = 16; // 0x10 field public static final int GET_INSTRUMENTATION = 16; // 0x10
field public static final int GET_INTENT_FILTERS = 32; // 0x20 field @Deprecated public static final int GET_INTENT_FILTERS = 32; // 0x20
field public static final int GET_META_DATA = 128; // 0x80 field public static final int GET_META_DATA = 128; // 0x80
field public static final int GET_PERMISSIONS = 4096; // 0x1000 field public static final int GET_PERMISSIONS = 4096; // 0x1000
field public static final int GET_PROVIDERS = 8; // 0x8 field public static final int GET_PROVIDERS = 8; // 0x8