commit | ff97691273f9397bbe0fc0597bd0211c5eea81b0 | [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 | b51a47360b0b0ec70c53ee58b5f4903ca42b0a14 [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