Add support for Ethernet tethering
Ethernet tethering can be started via
startTethering(TETHERING_ETHERNET).
Test: flashed, enabled ethernet tethering, verified internet access on
downstream.
Bug: 130840861
Merged-In: I34842acd94b972e440c3622f7617df10c18acf65
Change-Id: I34842acd94b972e440c3622f7617df10c18acf65
(cherry-pick with conflicts in test-current.txt)
This commit is contained in:
@@ -136,6 +136,12 @@ public class TetheringManager {
|
||||
*/
|
||||
public static final int TETHERING_NCM = 4;
|
||||
|
||||
/**
|
||||
* Ethernet tethering type.
|
||||
* @see #startTethering(TetheringRequest, Executor, StartTetheringCallback)
|
||||
*/
|
||||
public static final int TETHERING_ETHERNET = 5;
|
||||
|
||||
public static final int TETHER_ERROR_NO_ERROR = 0;
|
||||
public static final int TETHER_ERROR_UNKNOWN_IFACE = 1;
|
||||
public static final int TETHER_ERROR_SERVICE_UNAVAIL = 2;
|
||||
|
||||
Reference in New Issue
Block a user