commit | 3bf1224afc9179812015e995865fa637c71c27a4 | [log] [tgz] |
---|---|---|
author | junyulai <junyulai@google.com> | Tue Apr 07 11:26:29 2020 +0800 |
committer | junyulai <junyulai@google.com> | Tue Apr 07 15:07:16 2020 +0800 |
tree | 486b53f97d92c3f1749b8ca41c58823c425e0f8d | |
parent | 6bc322fc77cf3814854565207e19868503046b1d [diff] |
Fix NetworkStatsApiTest failed on Q device Currently, the addEntry method is used in constructor of test, which is not correct since there is no such method in Q devices. Thus, initialize of NetworkStats variables outside of constructor. Test: atest NetworkStatsApiTest Test: atest CtsNetTestCasesLatestSdk:NetworkStatsApiTest on Q device Bug: 150644692 Change-Id: Ibf2f8118c459a8d7a0992deca8f0f339ccd1bcea