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

Commit 19d3dcad authored by Kyunglyul Hyun's avatar Kyunglyul Hyun Committed by android-build-merger
Browse files

Merge "Set media router group id to sync cast status" into qt-dev

am: 9d33198d

Change-Id: Ia4802bde8e253c542d4aa3b7c59b9771935fc460
parents 793e99ff 9d33198d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -136,6 +136,7 @@ public final class WifiDisplaySettings extends SettingsPreferenceFragment implem

        final Context context = getActivity();
        mRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE);
        mRouter.setRouterGroupId(MediaRouter.MIRRORING_GROUP_ID);
        mDisplayManager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE);
        mWifiP2pManager = (WifiP2pManager) context.getSystemService(Context.WIFI_P2P_SERVICE);
        mWifiP2pChannel = mWifiP2pManager.initialize(context, Looper.getMainLooper(), null);
@@ -798,6 +799,7 @@ public final class WifiDisplaySettings extends SettingsPreferenceFragment implem
            mContext = context;
            mSummaryLoader = summaryLoader;
            mRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE);
            mRouter.setRouterGroupId(MediaRouter.MIRRORING_GROUP_ID);
        }

        @Override