Merge "Deprecate long-obsolete android:anyDensity" into rvc-dev

This commit is contained in:
John Reck
2020-03-06 20:37:53 +00:00
committed by Android (Google) Code Review
3 changed files with 9 additions and 5 deletions

View File

@@ -315,7 +315,7 @@ package android {
field public static final int animationOrder = 16843214; // 0x10101ce field public static final int animationOrder = 16843214; // 0x10101ce
field @Deprecated public static final int animationResolution = 16843546; // 0x101031a field @Deprecated public static final int animationResolution = 16843546; // 0x101031a
field public static final int antialias = 16843034; // 0x101011a field public static final int antialias = 16843034; // 0x101011a
field public static final int anyDensity = 16843372; // 0x101026c field @Deprecated public static final int anyDensity = 16843372; // 0x101026c
field public static final int apduServiceBanner = 16843757; // 0x10103ed field public static final int apduServiceBanner = 16843757; // 0x10103ed
field public static final int apiKey = 16843281; // 0x1010211 field public static final int apiKey = 16843281; // 0x1010211
field public static final int appCategory = 16844101; // 0x1010545 field public static final int appCategory = 16844101; // 0x1010545
@@ -11475,7 +11475,7 @@ package android.content.pm {
field public static final int FLAG_SUPPORTS_LARGE_SCREENS = 2048; // 0x800 field public static final int FLAG_SUPPORTS_LARGE_SCREENS = 2048; // 0x800
field public static final int FLAG_SUPPORTS_NORMAL_SCREENS = 1024; // 0x400 field public static final int FLAG_SUPPORTS_NORMAL_SCREENS = 1024; // 0x400
field public static final int FLAG_SUPPORTS_RTL = 4194304; // 0x400000 field public static final int FLAG_SUPPORTS_RTL = 4194304; // 0x400000
field public static final int FLAG_SUPPORTS_SCREEN_DENSITIES = 8192; // 0x2000 field @Deprecated public static final int FLAG_SUPPORTS_SCREEN_DENSITIES = 8192; // 0x2000
field public static final int FLAG_SUPPORTS_SMALL_SCREENS = 512; // 0x200 field public static final int FLAG_SUPPORTS_SMALL_SCREENS = 512; // 0x200
field public static final int FLAG_SUPPORTS_XLARGE_SCREENS = 524288; // 0x80000 field public static final int FLAG_SUPPORTS_XLARGE_SCREENS = 524288; // 0x80000
field public static final int FLAG_SUSPENDED = 1073741824; // 0x40000000 field public static final int FLAG_SUSPENDED = 1073741824; // 0x40000000

View File

@@ -247,7 +247,11 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable {
* accommodate different screen densities. Corresponds to * accommodate different screen densities. Corresponds to
* {@link android.R.styleable#AndroidManifestSupportsScreens_anyDensity * {@link android.R.styleable#AndroidManifestSupportsScreens_anyDensity
* android:anyDensity}. * android:anyDensity}.
*
* @deprecated Set by default when targeting API 4 or higher and apps
* should not set this to false.
*/ */
@Deprecated
public static final int FLAG_SUPPORTS_SCREEN_DENSITIES = 1<<13; public static final int FLAG_SUPPORTS_SCREEN_DENSITIES = 1<<13;
/** /**

View File

@@ -2266,9 +2266,9 @@
a newer platform that supports more screens. --> a newer platform that supports more screens. -->
<attr name="resizeable" format="boolean" /> <attr name="resizeable" format="boolean" />
<!-- Indicates whether the application can accommodate any screen <!-- Indicates whether the application can accommodate any screen
density. Older applications are assumed to not be able to, density. This is assumed true if targetSdkVersion is 4 or higher.
new ones able to. You can explicitly supply your abilities @deprecated Should always be true by default and not overridden.
here. --> -->
<attr name="anyDensity" format="boolean" /> <attr name="anyDensity" format="boolean" />
</declare-styleable> </declare-styleable>