Merge "Simple cleanups to Tethering" am: 7eaa2ad172 am: 7a5e9e51e2
am: bc559bad9d Change-Id: I393817fac7402d51fbd8dfd1fda20d16b398de17
This commit is contained in:
@@ -3090,8 +3090,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
||||
}
|
||||
|
||||
@Override
|
||||
public void startTethering(int type, ResultReceiver receiver,
|
||||
boolean showProvisioningUi) {
|
||||
public void startTethering(int type, ResultReceiver receiver, boolean showProvisioningUi) {
|
||||
ConnectivityManager.enforceTetherChangePermission(mContext);
|
||||
if (!isTetheringSupported()) {
|
||||
receiver.send(ConnectivityManager.TETHER_ERROR_UNSUPPORTED, null);
|
||||
|
||||
Reference in New Issue
Block a user