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

Commit 29f0617c authored by Paul Hu's avatar Paul Hu Committed by Android (Google) Code Review
Browse files

Merge "Expose BroadcastOptions#setMaxManifestReceiverApiLevel as system API"

parents 8f205538 52437ab0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -11,6 +11,11 @@ package android.app {
    field public static final String OPSTR_NO_ISOLATED_STORAGE = "android:no_isolated_storage";
  }

  public class BroadcastOptions {
    method public int getMaxManifestReceiverApiLevel();
    method public void setMaxManifestReceiverApiLevel(int);
  }

  public abstract class HomeVisibilityListener {
    ctor public HomeVisibilityListener();
    method public abstract void onHomeVisibilityChanged(boolean);
+2 −0
Original line number Diff line number Diff line
@@ -127,6 +127,7 @@ public class BroadcastOptions {
     * them.  This only applies to receivers declared in the app's AndroidManifest.xml.
     * @hide
     */
    @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
    public void setMaxManifestReceiverApiLevel(int apiLevel) {
        mMaxManifestReceiverApiLevel = apiLevel;
    }
@@ -135,6 +136,7 @@ public class BroadcastOptions {
     * Return {@link #setMaxManifestReceiverApiLevel}.
     * @hide
     */
    @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
    public int getMaxManifestReceiverApiLevel() {
        return mMaxManifestReceiverApiLevel;
    }