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:
Hugo Benichi
2017-03-10 14:20:57 +09:00
parent 43d964ac8f
commit 90b8568400

View File

@@ -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);