Simple cleanups to Tethering
- regroup together static final class fields, final instance fields, and mutable instance fields. - uses correct Android naming conventions for instance fields. - reorder imports correctly. Test: no functional change. Change-Id: If3d73bc28972a004c2ba3cc14d869a2a679abfce
This commit is contained in:
@@ -3087,8 +3087,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