Merge "p2p: mirgrate p2p into tethering modes"

This commit is contained in:
Jimmy Chen
2019-10-18 05:42:31 +00:00
committed by Gerrit Code Review

View File

@@ -472,6 +472,14 @@ public class ConnectivityManager {
@SystemApi @SystemApi
public static final int TETHERING_BLUETOOTH = 2; public static final int TETHERING_BLUETOOTH = 2;
/**
* Wifi P2p tethering type.
* Wifi P2p tethering is set through events automatically, and don't
* need to start from #startTethering(int, boolean, OnStartTetheringCallback).
* @hide
*/
public static final int TETHERING_WIFI_P2P = 3;
/** /**
* Extra used for communicating with the TetherService. Includes the type of tethering to * Extra used for communicating with the TetherService. Includes the type of tethering to
* enable if any. * enable if any.