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

Commit c5ec6448 authored by Paul Hu's avatar Paul Hu Committed by Gerrit Code Review
Browse files

Merge "Expose BroadcastOptions#setMaxManifestReceiverApiLevel as system API"

parents 5bc68e02 030fd23c
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
// Signature format: 2.0
package android.app {

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

}

package android.os {

  public class Binder implements android.os.IBinder {
+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;
    }