diff options
author | Adam Lesinski <adamlesinski@google.com> | 2015-08-18 11:47:07 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2015-08-18 11:47:07 -0700 |
commit | ed6160d299dadb4898360d55b2fb14e69ebb7ab3 (patch) | |
tree | c30ef86c484c9249c0cb6db99b69836c6f7c0714 /services | |
parent | 81eeef589386483722c21572d9ab6d3f95dd26be (diff) | |
download | frameworks_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.java | 2 |
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)) { |