diff options
Diffstat (limited to 'hostsidetests/statsd/src/android/cts/statsd/atom/HostAtomTests.java')
-rw-r--r-- | hostsidetests/statsd/src/android/cts/statsd/atom/HostAtomTests.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hostsidetests/statsd/src/android/cts/statsd/atom/HostAtomTests.java b/hostsidetests/statsd/src/android/cts/statsd/atom/HostAtomTests.java index eb96b8362d2..5c7d2448704 100644 --- a/hostsidetests/statsd/src/android/cts/statsd/atom/HostAtomTests.java +++ b/hostsidetests/statsd/src/android/cts/statsd/atom/HostAtomTests.java @@ -522,6 +522,8 @@ public class HostAtomTests extends AtomTestCase { } if (!hasFeature(FEATURE_WIFI, true)) return; if (!hasFeature(FEATURE_WATCH, false)) return; + if (!checkDeviceFor("checkWifiEnhancedPowerReportingSupported")) return; + StatsdConfig.Builder config = getPulledConfig(); addGaugeAtom(config, Atom.WIFI_ACTIVITY_INFO_FIELD_NUMBER, null); |