am ef3f5ddc: Replace "safeMode" with a more specific name "vmSafeMode" in the public API.
Merge commit 'ef3f5ddc2137ed99e41f00441b688fb56b855179' into froyo-plus-aosp * commit 'ef3f5ddc2137ed99e41f00441b688fb56b855179': Replace "safeMode" with a more specific name "vmSafeMode" in the public API.
This commit is contained in:
@@ -194,8 +194,8 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable {
|
||||
/**
|
||||
* Value for {@link #flags}: set to true if this application would like to
|
||||
* request the VM to operate under the safe mode. Comes from
|
||||
* {@link android.R.styleable#AndroidManifestApplication_safeMode
|
||||
* android:safeMode} of the <application> tag.
|
||||
* {@link android.R.styleable#AndroidManifestApplication_vmSafeMode
|
||||
* android:vmSafeMode} of the <application> tag.
|
||||
*/
|
||||
public static final int FLAG_VM_SAFE_MODE = 1<<14;
|
||||
|
||||
|
||||
@@ -1510,7 +1510,7 @@ public class PackageParser {
|
||||
}
|
||||
|
||||
if (sa.getBoolean(
|
||||
com.android.internal.R.styleable.AndroidManifestApplication_safeMode,
|
||||
com.android.internal.R.styleable.AndroidManifestApplication_vmSafeMode,
|
||||
false)) {
|
||||
ai.flags |= ApplicationInfo.FLAG_VM_SAFE_MODE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user