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

Commit f99104da authored by Fyodor Kupolov's avatar Fyodor Kupolov
Browse files

Assigned a unique value for PRIVATE_FLAG_EPHEMERAL

Previously the value was conflicting with a private flag
PARTIALLY_ENCRYPTION_AWARE, which has been added before.

Change-Id: I661d8b5f59a39b18288eae47b7522f87b120c57b
parent f928d4aa
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -485,13 +485,6 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable {
     */
    public static final int PRIVATE_FLAG_AUTOPLAY = 1 << 7;

    /**
     * Value for {@link #flags}: {@code true} if the application is blocked via restrictions
     * and for most purposes is considered as not installed.
     * {@hide}
     */
    public static final int PRIVATE_FLAG_EPHEMERAL = 1<<8;

    /**
     * When set, at least one component inside this application is encryption aware.
     *
@@ -499,6 +492,13 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable {
     */
    public static final int PRIVATE_FLAG_PARTIALLY_ENCRYPTION_AWARE = 1 << 8;

    /**
     * Value for {@link #flags}: {@code true} if the application is blocked via restrictions
     * and for most purposes is considered as not installed.
     * {@hide}
     */
    public static final int PRIVATE_FLAG_EPHEMERAL = 1 << 9;

    /**
     * Private/hidden flags. See {@code PRIVATE_FLAG_...} constants.
     * {@hide}