OSDN Git Service

Remove the 2 seconds wait time to sync app data usage list.
authorDoris Ling <dling@google.com>
Thu, 29 Nov 2018 21:18:21 +0000 (13:18 -0800)
committerDoris Ling <dling@google.com>
Thu, 29 Nov 2018 21:18:21 +0000 (13:18 -0800)
commitd13b50b39e3516fef0afdf8b7125351d3f0ffe78
tree28ba110f56fc60aad8a66abf6bc89b2d9c0333ff
parent662b209b15151f3f79e9d25d55282c55fc210ba6
Remove the 2 seconds wait time to sync app data usage list.

- in v2, completely remove the asyn task to force update the network
stats since the network stats apis is actually not used.
- in v1, remove the 2s delay and only update the list when the asyn task
is done.

Change-Id: I10e887022d07fe38504036cbf3f12362eec939b3
Fixes: 119562454
Test: manual
src/com/android/settings/datausage/DataUsageList.java
src/com/android/settings/datausage/DataUsageListV2.java