commit | 12ddc700c831dfffe84c763fb8dcb252e5ff8707 | [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 | 07dc0cae24857907381148ae0b7c16dfcf67c74f | |
parent | e486951a92f2e94ef4cbdac52297791b080ddbff [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