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

Commit 790edb87 authored by Kyunglyul Hyun's avatar Kyunglyul Hyun Committed by Android (Google) Code Review
Browse files

Merge "[Media ML] public alternative for MediaController#controlsSameSession"

parents 78733751 3b4f87db
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -472,7 +472,8 @@ public final class MediaController {
    /**
     * @hide
     */
    @UnsupportedAppUsage
    @UnsupportedAppUsage(publicAlternatives = "Check equality of {@link #getSessionToken() tokens}"
            + "instead.")
    public boolean controlsSameSession(MediaController other) {
        if (other == null) return false;
        return mSessionBinder.asBinder() == other.getSessionBinder().asBinder();