am f57fcddb: am 68b7a6d1: Merge "First step towards cleaning up Global settings." into jb-mr1-dev
* commit 'f57fcddb61236c6e9c145d8f310bf1f4b1daafbb': First step towards cleaning up Global settings.
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
|
||||
// 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user