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

Commit 53dd837d authored by Raj Yengisetty's avatar Raj Yengisetty
Browse files

Add the appropriate @hide flag so we can build!

Change-Id: Id45f682287741badb13e256f6029c52820a068bd
parent 5289dcad
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -485,6 +485,7 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable {
    /**
     * When true, indicates that any one component within this application is
     * protected.
     * @hide
     */
    public boolean protect = false;
    
+5 −0
Original line number Diff line number Diff line
@@ -1377,12 +1377,16 @@ public abstract class PackageManager {
    /**
     * Flag for {@link #setComponentProtectedSetting(android.content.ComponentName, boolean)}:
     * This component or application has set to protected status
     *
     * @hide
     */
    public static final boolean COMPONENT_PROTECTED_STATUS = false;

    /**
     * Flag for {@link #setComponentProtectedSetting(android.content.ComponentName, boolean)}:
     * This component or application has been explicitly set to visible status
     *
     * @hide
     */
    public static final boolean COMPONENT_VISIBLE_STATUS = true;

@@ -3276,6 +3280,7 @@ public abstract class PackageManager {

    /**
     * Update Component protection state
     * @hide
     */
    public abstract void setComponentProtectedSetting(ComponentName componentName, boolean newState);
}
+1 −0
Original line number Diff line number Diff line
@@ -5735,6 +5735,7 @@ public final class Settings {

        /**
         * Protected Components
         * @hide
         */
        public static final String PROTECTED_COMPONENTS = "protected_components";

+3 −0
Original line number Diff line number Diff line
@@ -655,6 +655,9 @@ public class MockPackageManager extends PackageManager {
        throw new UnsupportedOperationException();
    }

    /**
     * @hide
     */
    @Override
    public void setComponentProtectedSetting(ComponentName componentName, boolean newState) {
        throw new UnsupportedOperationException();