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

Commit 6146b476 authored by Scott Mertz's avatar Scott Mertz Committed by Gerrit Code Review
Browse files

Fix a couple of checkapi errors for themes

Change-Id: Iee2ded64f0bea8a295895542eecf7b9256ce0476
parent c80ba191
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -669,7 +669,7 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable {
     */
     */
    public boolean protect = false;
    public boolean protect = false;


    /*
    /**
     * Is given application theme agnostic, i.e. behaves properly when default theme is changed.
     * Is given application theme agnostic, i.e. behaves properly when default theme is changed.
     * @hide
     * @hide
     */
     */
+0 −3
Original line number Original line Diff line number Diff line
@@ -836,7 +836,6 @@ public abstract class PackageManager {
     * if the system failed to install the theme because aapt could not compile the app
     * if the system failed to install the theme because aapt could not compile the app
     * @hide
     * @hide
     */
     */
    @SystemApi
    public static final int INSTALL_FAILED_THEME_AAPT_ERROR = -400;
    public static final int INSTALL_FAILED_THEME_AAPT_ERROR = -400;


    /**
    /**
@@ -847,7 +846,6 @@ public abstract class PackageManager {
     * apps.
     * apps.
     * @hide
     * @hide
     */
     */
    @SystemApi
    public static final int INSTALL_FAILED_THEME_IDMAP_ERROR = -401;
    public static final int INSTALL_FAILED_THEME_IDMAP_ERROR = -401;


    /**
    /**
@@ -858,7 +856,6 @@ public abstract class PackageManager {
     * apps.
     * apps.
     * @hide
     * @hide
     */
     */
    @SystemApi
    public static final int INSTALL_FAILED_THEME_UNKNOWN_ERROR = -402;
    public static final int INSTALL_FAILED_THEME_UNKNOWN_ERROR = -402;


    /**
    /**
+4 −0
Original line number Original line Diff line number Diff line
@@ -971,6 +971,10 @@ public class MockPackageManager extends PackageManager {
        throw new UnsupportedOperationException();
        throw new UnsupportedOperationException();
    }
    }


    /**
     * @hide
     */
    @Override
    public void updateIconMaps(String pkgName) {
    public void updateIconMaps(String pkgName) {
        throw new UnsupportedOperationException();
        throw new UnsupportedOperationException();
    }
    }