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

Commit 367d0ca9 authored by hughchen's avatar hughchen
Browse files

Public isConnected() method

Public isConnected() method to know which MediaDevice is connected
to play media.

Bug: 121083246
Test: build pass
Change-Id: Ibf877bb6c9eaedc6a839f5108a5ae8b47219f2f6
parent 2ec8b910
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -53,7 +53,7 @@ public abstract class MediaDevice {
     *
     *
     * @return true if the MediaDevice is be connected to transfer, false otherwise.
     * @return true if the MediaDevice is be connected to transfer, false otherwise.
     */
     */
    protected boolean isConnected() {
    public boolean isConnected() {
        return mIsConnected;
        return mIsConnected;
    }
    }