First step towards cleaning up Global settings.
Remove all @Deprecated @hide settings, and clean up any stragglers. Bug: 7232125 Change-Id: Ibf67093c728d4a28565129b923edb1701d3b2789
This commit is contained in:
@@ -1509,8 +1509,8 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
|||||||
// which is where we store the value and maybe make this
|
// which is where we store the value and maybe make this
|
||||||
// asynchronous.
|
// asynchronous.
|
||||||
enforceAccessPermission();
|
enforceAccessPermission();
|
||||||
boolean retVal = Settings.Secure.getInt(mContext.getContentResolver(),
|
boolean retVal = Settings.Global.getInt(mContext.getContentResolver(),
|
||||||
Settings.Secure.MOBILE_DATA, 1) == 1;
|
Settings.Global.MOBILE_DATA, 1) == 1;
|
||||||
if (VDBG) log("getMobileDataEnabled returning " + retVal);
|
if (VDBG) log("getMobileDataEnabled returning " + retVal);
|
||||||
return retVal;
|
return retVal;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user