commit | 2c4493ab283ab0f3ff9a52be212e6be3c1d3f5b9 | [log] [tgz] |
---|---|---|
author | Guang Zhu <guangzhu@google.com> | Wed Jun 12 21:21:16 2013 -0700 |
committer | Guang Zhu <guangzhu@google.com> | Wed Jun 12 21:21:16 2013 -0700 |
tree | 1ed424fed5f88311566089bc418f8b3f69f8f655 | |
parent | bababcb4ead98d2b028198a5e2381ff592dc6733 [diff] |
add new API to check if wifi is enabled, also fix data test After change to TestDevice#disconnectFromWifi, attempt to disconnect while in fact wifi is disabled will end in a failure. Unfortunately mobile data test was using this to ensure wifi was disabled. To correct this, mobile data test should only assert if wifi is in the correct status or not, and new API is added to test the wifi state accordingly. Change-Id: Ib4fad2b0603a034916872aadd1c91923c1292dc3