commit | 5bbd6262b151b92ec6bfd78bcbba60c60937f9de | [log] [tgz] |
---|---|---|
author | junyulai <junyulai@google.com> | Tue Jan 14 18:41:08 2020 +0800 |
committer | junyulai <junyulai@google.com> | Fri Feb 14 15:37:16 2020 +0800 |
tree | 2203e8c1a219a8a8c13a667285ae4735525c135b | |
parent | a77fbc2539fe11531ad370234b6c2b202addd263 [diff] |
[SP12] Remove the usage of getVtDataUsage Currently NetworkStatsService holding a lock when invoking getVtDataUsage, which causes a lot of deadlock problems since Phone will also have binder calls to system_server. Thus, this change uses a new set of API to break such situation, that allows VT to report stats asynchronously. Test: atest FrameworksNetTests FrameworksTelephonyTests Bug: 130855321 Fix: 143923500 Change-Id: Ifdb8599c3bade09208b4730710fc99da1afad71d