Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 687923e2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Clarify docs for FLAG_SYSTEM" am: 40dcbcad am: b4ff7c06

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1426971

Change-Id: Ic4c890da09e087f4f676aa257cd6021f48f66ccf
parents fda61781 b4ff7c06
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -146,8 +146,15 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable {
    public int uiOptions = 0;

    /**
     * Value for {@link #flags}: if set, this application is installed in the
     * device's system image.
     * Value for {@link #flags}: if set, this application is installed in the device's system image.
     * This should not be used to make security decisions. Instead, rely on
     * {@linkplain android.content.pm.PackageManager#checkSignatures(java.lang.String,java.lang.String)
     * signature checks} or
     * <a href="https://developer.android.com/training/articles/security-tips#Permissions">permissions</a>.
     *
     * <p><b>Warning:</b> Note that does flag not behave the same as
     * {@link android.R.attr#protectionLevel android:protectionLevel} {@code system} or
     * {@code signatureOrSystem}.
     */
    public static final int FLAG_SYSTEM = 1<<0;