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

Commit 2ec5f298 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove unused field after flag cleanup" into main

parents 1d9d1e97 dd58deea
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -59,14 +59,6 @@ public class BackgroundUserSoundNotifier {
            "com.android.server.ACTION_DISMISS_NOTIFICATION";
    private static final String EXTRA_NOTIFICATION_CLIENT_UID =
            "com.android.server.EXTRA_CLIENT_UID";
    /**
     * The clientUid from the AudioFocusInfo of the background user,
     * for which an active notification is currently displayed.
     * Set to -1 if no notification is being shown.
     * TODO: b/367615180 - add support for multiple simultaneous alarms
     */
    @VisibleForTesting
    int mNotificationClientUid = -1;
    /**
     * UIDs of audio focus infos with active notifications.
     */
@@ -102,6 +94,7 @@ public class BackgroundUserSoundNotifier {
        mNotificationManager.createNotificationChannel(channel);
    }

    @SuppressLint("MissingPermission")
    private void setupFocusControlAudioPolicy() {
        // Used to configure our audio policy to handle focus events.
        // This gives us the ability to decide which audio focus requests to accept and bypasses