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

Commit 886007ba authored by Oscar Azucena's avatar Oscar Azucena Committed by Android (Google) Code Review
Browse files

Merge "Fixed focus issues related to same callingUID"

parents 1cc5036f 157414c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -405,7 +405,7 @@ public class FocusRequester {
    @GuardedBy("MediaFocusControl.mAudioFocusLock")
    private boolean frameworkHandleFocusLoss(int focusLoss, @NonNull final FocusRequester frWinner,
                                             boolean forceDuck) {
        if (frWinner.mCallingUid != this.mCallingUid) {
        if (frWinner.mCallingUid == this.mCallingUid) {
            // the focus change is within the same app, so let the dispatching
            // happen as if the framework was not involved.
            return false;