Merge "Rename persistentFeature to persistentWhenFeatureAvailable." into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
35312fd4c6
@@ -993,7 +993,7 @@ package android {
|
||||
field public static final int persistableMode = 16843821; // 0x101042d
|
||||
field public static final int persistent = 16842765; // 0x101000d
|
||||
field public static final int persistentDrawingCache = 16842990; // 0x10100ee
|
||||
field public static final int persistentFeature = 16844134; // 0x1010566
|
||||
field public static final int persistentWhenFeatureAvailable = 16844134; // 0x1010566
|
||||
field public static final deprecated int phoneNumber = 16843111; // 0x1010167
|
||||
field public static final int pivotX = 16843189; // 0x10101b5
|
||||
field public static final int pivotY = 16843190; // 0x10101b6
|
||||
|
||||
@@ -1113,7 +1113,7 @@ package android {
|
||||
field public static final int persistableMode = 16843821; // 0x101042d
|
||||
field public static final int persistent = 16842765; // 0x101000d
|
||||
field public static final int persistentDrawingCache = 16842990; // 0x10100ee
|
||||
field public static final int persistentFeature = 16844134; // 0x1010566
|
||||
field public static final int persistentWhenFeatureAvailable = 16844134; // 0x1010566
|
||||
field public static final deprecated int phoneNumber = 16843111; // 0x1010167
|
||||
field public static final int pivotX = 16843189; // 0x10101b5
|
||||
field public static final int pivotY = 16843190; // 0x10101b6
|
||||
|
||||
@@ -993,7 +993,7 @@ package android {
|
||||
field public static final int persistableMode = 16843821; // 0x101042d
|
||||
field public static final int persistent = 16842765; // 0x101000d
|
||||
field public static final int persistentDrawingCache = 16842990; // 0x10100ee
|
||||
field public static final int persistentFeature = 16844134; // 0x1010566
|
||||
field public static final int persistentWhenFeatureAvailable = 16844134; // 0x1010566
|
||||
field public static final deprecated int phoneNumber = 16843111; // 0x1010167
|
||||
field public static final int pivotX = 16843189; // 0x10101b5
|
||||
field public static final int pivotY = 16843190; // 0x10101b6
|
||||
|
||||
@@ -3437,7 +3437,8 @@ public class PackageParser {
|
||||
false)) {
|
||||
// Check if persistence is based on a feature being present
|
||||
final String requiredFeature = sa.getNonResourceString(
|
||||
com.android.internal.R.styleable.AndroidManifestApplication_persistentFeature);
|
||||
com.android.internal.R.styleable.
|
||||
AndroidManifestApplication_persistentWhenFeatureAvailable);
|
||||
if (requiredFeature == null || mCallback.hasFeature(requiredFeature)) {
|
||||
ai.flags |= ApplicationInfo.FLAG_PERSISTENT;
|
||||
}
|
||||
|
||||
@@ -324,7 +324,7 @@
|
||||
|
||||
<!-- If set, the "persistent" attribute will only be honored if the feature
|
||||
specified here is present on the device. -->
|
||||
<attr name="persistentFeature" format="string" />
|
||||
<attr name="persistentWhenFeatureAvailable" format="string" />
|
||||
|
||||
<!-- Flag to specify if this application needs to be present for all users. Only pre-installed
|
||||
applications can request this feature. Default value is false. -->
|
||||
@@ -1362,7 +1362,7 @@
|
||||
for normal behavior. -->
|
||||
<attr name="hasCode" format="boolean" />
|
||||
<attr name="persistent" />
|
||||
<attr name="persistentFeature" />
|
||||
<attr name="persistentWhenFeatureAvailable" />
|
||||
<attr name="requiredForAllUsers" />
|
||||
<!-- Specify whether the components in this application are enabled or not (that is, can be
|
||||
instantiated by the system).
|
||||
|
||||
@@ -2815,7 +2815,7 @@
|
||||
<public name="maxAspectRatio"/>
|
||||
<public name="iconSpaceReserved"/>
|
||||
<public name="defaultFocusHighlightEnabled" />
|
||||
<public name="persistentFeature"/>
|
||||
<public name="persistentWhenFeatureAvailable"/>
|
||||
<public name="windowSplashscreenContent" />
|
||||
<!-- @hide @SystemApi -->
|
||||
<public name="requiredSystemPropertyName" />
|
||||
|
||||
Reference in New Issue
Block a user