Replace "safeMode" with a more specific name "vmSafeMode" in the public API.
Bug: 2553512 Change-Id: Id0dad80ecdcb8c7430dcf1ac26132ccd9c0770f5
This commit is contained in:
@@ -6884,17 +6884,6 @@
|
|||||||
visibility="public"
|
visibility="public"
|
||||||
>
|
>
|
||||||
</field>
|
</field>
|
||||||
<field name="safeMode"
|
|
||||||
type="int"
|
|
||||||
transient="false"
|
|
||||||
volatile="false"
|
|
||||||
value="16843448"
|
|
||||||
static="true"
|
|
||||||
final="true"
|
|
||||||
deprecated="not deprecated"
|
|
||||||
visibility="public"
|
|
||||||
>
|
|
||||||
</field>
|
|
||||||
<field name="saveEnabled"
|
<field name="saveEnabled"
|
||||||
type="int"
|
type="int"
|
||||||
transient="false"
|
transient="false"
|
||||||
@@ -8996,6 +8985,17 @@
|
|||||||
visibility="public"
|
visibility="public"
|
||||||
>
|
>
|
||||||
</field>
|
</field>
|
||||||
|
<field name="vmSafeMode"
|
||||||
|
type="int"
|
||||||
|
transient="false"
|
||||||
|
volatile="false"
|
||||||
|
value="16843448"
|
||||||
|
static="true"
|
||||||
|
final="true"
|
||||||
|
deprecated="not deprecated"
|
||||||
|
visibility="public"
|
||||||
|
>
|
||||||
|
</field>
|
||||||
<field name="voiceLanguage"
|
<field name="voiceLanguage"
|
||||||
type="int"
|
type="int"
|
||||||
transient="false"
|
transient="false"
|
||||||
|
|||||||
@@ -194,8 +194,8 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable {
|
|||||||
/**
|
/**
|
||||||
* Value for {@link #flags}: set to true if this application would like to
|
* Value for {@link #flags}: set to true if this application would like to
|
||||||
* request the VM to operate under the safe mode. Comes from
|
* request the VM to operate under the safe mode. Comes from
|
||||||
* {@link android.R.styleable#AndroidManifestApplication_safeMode
|
* {@link android.R.styleable#AndroidManifestApplication_vmSafeMode
|
||||||
* android:safeMode} of the <application> tag.
|
* android:vmSafeMode} of the <application> tag.
|
||||||
*/
|
*/
|
||||||
public static final int FLAG_VM_SAFE_MODE = 1<<14;
|
public static final int FLAG_VM_SAFE_MODE = 1<<14;
|
||||||
|
|
||||||
|
|||||||
@@ -1510,7 +1510,7 @@ public class PackageParser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (sa.getBoolean(
|
if (sa.getBoolean(
|
||||||
com.android.internal.R.styleable.AndroidManifestApplication_safeMode,
|
com.android.internal.R.styleable.AndroidManifestApplication_vmSafeMode,
|
||||||
false)) {
|
false)) {
|
||||||
ai.flags |= ApplicationInfo.FLAG_VM_SAFE_MODE;
|
ai.flags |= ApplicationInfo.FLAG_VM_SAFE_MODE;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -217,7 +217,7 @@
|
|||||||
|
|
||||||
<!-- Flag indicating whether the application requests the VM to operate in
|
<!-- Flag indicating whether the application requests the VM to operate in
|
||||||
the safe mode. -->
|
the safe mode. -->
|
||||||
<attr name="safeMode" format="boolean" />
|
<attr name="vmSafeMode" format="boolean" />
|
||||||
|
|
||||||
<!-- Flag indicating whether the given application component is available
|
<!-- Flag indicating whether the given application component is available
|
||||||
to other applications. If false, it can only be accessed by
|
to other applications. If false, it can only be accessed by
|
||||||
@@ -709,7 +709,7 @@
|
|||||||
override the component specific values). -->
|
override the component specific values). -->
|
||||||
<attr name="enabled" />
|
<attr name="enabled" />
|
||||||
<attr name="debuggable" />
|
<attr name="debuggable" />
|
||||||
<attr name="safeMode" />
|
<attr name="vmSafeMode" />
|
||||||
<!-- Name of activity to be launched for managing the application's space on the device. -->
|
<!-- Name of activity to be launched for managing the application's space on the device. -->
|
||||||
<attr name="manageSpaceActivity" />
|
<attr name="manageSpaceActivity" />
|
||||||
<attr name="allowClearUserData" />
|
<attr name="allowClearUserData" />
|
||||||
|
|||||||
@@ -1228,7 +1228,7 @@
|
|||||||
=============================================================== -->
|
=============================================================== -->
|
||||||
<eat-comment />
|
<eat-comment />
|
||||||
<public type="attr" name="installLocation" id="0x010102b7" />
|
<public type="attr" name="installLocation" id="0x010102b7" />
|
||||||
<public type="attr" name="safeMode" id="0x010102b8" />
|
<public type="attr" name="vmSafeMode" id="0x010102b8" />
|
||||||
<public type="attr" name="webTextViewStyle" id="0x010102b9" />
|
<public type="attr" name="webTextViewStyle" id="0x010102b9" />
|
||||||
<public type="attr" name="overscrollMode" id="0x010102ba" />
|
<public type="attr" name="overscrollMode" id="0x010102ba" />
|
||||||
<public type="attr" name="restoreAnyVersion" id="0x010102bb" />
|
<public type="attr" name="restoreAnyVersion" id="0x010102bb" />
|
||||||
|
|||||||
Reference in New Issue
Block a user