am f57fcddb: am 68b7a6d1: Merge "First step towards cleaning up Global settings." into jb-mr1-dev am: 621975ad96
Original change: undetermined Change-Id: I3527c19149c9aab01c37b94810c9574dd789ef3e
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