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

Commit 1d70c521 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix for mic dislosure indicator getting stuck"

parents 3609fac4 6abceeec
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -498,15 +498,13 @@ public class AudioRecordingDisclosureBar implements

        mState = STATE_MINIMIZED;

        if (mRevealRecordingPackages) {
            if (!mPendingNotificationPackages.isEmpty()) {
        if (mRevealRecordingPackages && !mPendingNotificationPackages.isEmpty()) {
            // There is a new application that started recording, tell the user about it.
            expand(mPendingNotificationPackages.poll());
        } else {
            hideIndicatorIfNeeded();
        }
    }
    }

    @UiThread
    private void onHidden() {