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

Commit 06285deb authored by Irfan Sheriff's avatar Irfan Sheriff Committed by Android (Google) Code Review
Browse files

Merge "Update WifiP2pManager API use"

parents d66b6190 3d05e3c2
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -82,9 +82,6 @@ public class WifiP2pDialog extends AlertDialog implements AdapterView.OnItemSele
                config.wpsConfig.setup = Setup.PBC;
                break;
        }
        if (mDevice.isGroupOwner()) {
            config.joinExistingGroup = true;
        }
        return config;
    }

+1 −1
Original line number Diff line number Diff line
@@ -159,7 +159,7 @@ public class WifiP2pSettings extends SettingsPreferenceFragment {
            public void onClick(DialogInterface dialog, int which) {
                if (which == DialogInterface.BUTTON_POSITIVE) {
                    if (mWifiP2pManager != null) {
                        mWifiP2pManager.disconnect(mChannel);
                        mWifiP2pManager.removeGroup(mChannel);
                    }
                }
            }