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

Commit 41a7cdac authored by Santiago Seifert's avatar Santiago Seifert
Browse files

Avoid lock when out of process

The lock protects no resources.

Test: Non-functional change.
Flag: EXEMPT Non-functional change.
Bug: 205124386
Change-Id: I6eca45990f5d521a4f95a559c9d9a08cf577ab47
parent 1be1b1f2
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -1113,10 +1113,7 @@ class MediaRouter2ServiceImpl {
            Slog.w(TAG, "showMediaOutputSwitcher only works when called from foreground");
            return false;
        }
        synchronized (mLock) {
            mStatusBarManagerInternal.showMediaOutputSwitcher(packageName, userHandle,
                    sessionToken);
        }
        mStatusBarManagerInternal.showMediaOutputSwitcher(packageName, userHandle, sessionToken);
        return true;
    }