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

Commit 7364689c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "[Output Switcher] Delete fallback check under api" into tm-dev am: 84c78397

parents 4abf9e3d 84c78397
Loading
Loading
Loading
Loading
+2 −5
Original line number Original line Diff line number Diff line
@@ -55,8 +55,6 @@ import android.view.WindowManager;
import androidx.annotation.NonNull;
import androidx.annotation.NonNull;
import androidx.annotation.VisibleForTesting;
import androidx.annotation.VisibleForTesting;
import androidx.core.graphics.drawable.IconCompat;
import androidx.core.graphics.drawable.IconCompat;
import androidx.mediarouter.media.MediaRouter;
import androidx.mediarouter.media.MediaRouterParams;


import com.android.settingslib.RestrictedLockUtilsInternal;
import com.android.settingslib.RestrictedLockUtilsInternal;
import com.android.settingslib.Utils;
import com.android.settingslib.Utils;
@@ -215,9 +213,8 @@ public class MediaOutputController implements LocalMediaManager.DeviceCallback,
    }
    }


    boolean shouldShowLaunchSection() {
    boolean shouldShowLaunchSection() {
        MediaRouterParams routerParams = MediaRouter.getInstance(mContext).getRouterParams();
        // TODO(b/231398073): Implements this when available.
        Log.d(TAG, "try to get routerParams: " + routerParams);
        return false;
        return routerParams != null && !routerParams.isMediaTransferReceiverEnabled();
    }
    }


    void setRefreshing(boolean refreshing) {
    void setRefreshing(boolean refreshing) {