summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJayachandran C <jayachandranc@google.com>2018-12-06 11:12:07 -0800
committerJayachandran Chinnakkannu <jayachandranc@google.com>2019-01-18 22:52:16 +0000
commit8ef41bf34fa3a900a030f4591d457706c854dd31 (patch)
tree35d8b96bebcf432bbf861b49ca772e4dc701185d /tools/aapt2/java/JavaClassGenerator.cpp
parent56401a4c74dc6acd307b4e3432bd86414a57176a (diff)
Cellular data stall recovery based on networkStatus
This CL introduces cellular data stall recovery based on network validation result. It still re-uses the existing recovery steps but the triggers are based on networkStatus from NetworkMonitor when the network is bad. Each recovery step is spaced by a configurable grace period (default 3 mins) to avoid back to back recovery. This feature is controlled by the following settings. If this feature is enabled then the legacy data stall detection based on TrafficStats will automatically be disabled. Settings.Global.DATA_STALL_RECOVERY_ON_BAD_NETWORK 1 => Enabled (default) 0 => Disabled Settings.Global.MIN_DURATION_BETWEEN_RECOVERY_STEPS_IN_MS 3 minutes is default value Bug: 113916551 Test: atest FrameworksTelephonyTests:com.android.internal.telephony.dataconnection.DcTrackerTest Change-Id: I738fc7ed08803de1114f7a3d79bf278449e94ea8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions