commit | 821300b5cdbbb63f52a76ec84100791bf6f34606 | [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 | 31d5a24e1c9792e24a5823a87338eff913848203 | |
parent | 4af7c5e2cbbae8992c0537c8392f8ca61fd510a2 [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