Enable mobile data always on.
Test: has been on in fishfood several months. Bug: 23113288 Change-Id: I73ba432f619d28dab78e2d865d56aa7e7c5a67f9
This commit is contained in:
@@ -883,7 +883,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
||||
|
||||
private void handleMobileDataAlwaysOn() {
|
||||
final boolean enable = (Settings.Global.getInt(
|
||||
mContext.getContentResolver(), Settings.Global.MOBILE_DATA_ALWAYS_ON, 0) == 1);
|
||||
mContext.getContentResolver(), Settings.Global.MOBILE_DATA_ALWAYS_ON, 1) == 1);
|
||||
final boolean isEnabled = (mNetworkRequests.get(mDefaultMobileDataRequest) != null);
|
||||
if (enable == isEnabled) {
|
||||
return; // Nothing to do.
|
||||
|
||||
Reference in New Issue
Block a user