summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2015-08-18 11:47:07 -0700
committerAdam Lesinski <adamlesinski@google.com>2015-08-18 11:47:07 -0700
commited6160d299dadb4898360d55b2fb14e69ebb7ab3 (patch)
treec30ef86c484c9249c0cb6db99b69836c6f7c0714 /services
parent81eeef589386483722c21572d9ab6d3f95dd26be (diff)
downloadframeworks_base-ed6160d299dadb4898360d55b2fb14e69ebb7ab3.zip
frameworks_base-ed6160d299dadb4898360d55b2fb14e69ebb7ab3.tar.gz
frameworks_base-ed6160d299dadb4898360d55b2fb14e69ebb7ab3.tar.bz2
Change default cellular activity timeout to 10
LTE radios take 10 seconds to power down, so we should set the activity timeout to 10 seconds. Bug:23294704 Change-Id: I7478b77f134b0fe2d82e39acd5c370add12735ca
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/ConnectivityService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/ConnectivityService.java b/services/core/java/com/android/server/ConnectivityService.java
index 6e0c37f..4919bed 100644
--- a/services/core/java/com/android/server/ConnectivityService.java
+++ b/services/core/java/com/android/server/ConnectivityService.java
@@ -1585,7 +1585,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
NetworkCapabilities.TRANSPORT_CELLULAR)) {
timeout = Settings.Global.getInt(mContext.getContentResolver(),
Settings.Global.DATA_ACTIVITY_TIMEOUT_MOBILE,
- 5);
+ 10);
type = ConnectivityManager.TYPE_MOBILE;
} else if (networkAgent.networkCapabilities.hasTransport(
NetworkCapabilities.TRANSPORT_WIFI)) {