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

Commit 888b791f authored by Hyundo Moon's avatar Hyundo Moon
Browse files

Make AudioManager.FLAG_FROM_KEY as @SystemApi

Bug: 119790339
Test: make update-api
Change-Id: I649cd5cbf64274e5fe840eb773a450c3c581b210
parent 1ef84875
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2861,6 +2861,7 @@ package android.media {
    field public static final int AUDIOFOCUS_FLAG_DELAY_OK = 1; // 0x1
    field public static final int AUDIOFOCUS_FLAG_LOCK = 4; // 0x4
    field public static final int AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS = 2; // 0x2
    field public static final int FLAG_FROM_KEY = 4096; // 0x1000
  }

  public static abstract class AudioManager.AudioServerStateCallback {
+1 −0
Original line number Diff line number Diff line
@@ -541,6 +541,7 @@ public class AudioManager {
     * Adjusting the volume due to a hardware key press.
     * @hide
     */
    @SystemApi
    public static final int FLAG_FROM_KEY = 1 << 12;

    private static final String[] FLAG_NAMES = {