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:
parent
f605dcb8ad
commit
8b36157b58
1 changed files with 2 additions and 2 deletions
|
|
@ -1509,8 +1509,8 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
|||
// which is where we store the value and maybe make this
|
||||
// asynchronous.
|
||||
enforceAccessPermission();
|
||||
boolean retVal = Settings.Secure.getInt(mContext.getContentResolver(),
|
||||
Settings.Secure.MOBILE_DATA, 1) == 1;
|
||||
boolean retVal = Settings.Global.getInt(mContext.getContentResolver(),
|
||||
Settings.Global.MOBILE_DATA, 1) == 1;
|
||||
if (VDBG) log("getMobileDataEnabled returning " + retVal);
|
||||
return retVal;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue