diff options
| author | Aaron Huang <huangaaron@google.com> | 2021-08-17 13:56:13 +0800 |
|---|---|---|
| committer | Aaron Huang <huangaaron@google.com> | 2021-08-17 07:13:16 +0000 |
| commit | 1e49ed0e842a62e8c96709afd803fb40f43f7082 (patch) | |
| tree | 9794395cab4f7c8725c785bf4abb8da535c6ff28 /tests/common/java/android/net/NetworkCapabilitiesTest.java | |
| parent | 114a5b2fd3d53c452280fb77d3bc8c7976181515 (diff) | |
Bypass cellular battery stats test if telephony is not supported
This test requires a cell network so the test will be failed if
the device does not support telephony. Add a condition to check
if the device supports telephony and skip cellular battery stats
test if telephony is not supported.
Bug: 196231205
Test: atest CtsNetTestCases:BatteryStatsManagerTest
Change-Id: I9ddc1da2a3f83f3fd2ab59059185f2f7a8d08701
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions
