commit | d104ebcd836fabb48d4844a3456d189e06b8c0a9 | [log] [tgz] |
---|---|---|
author | Sohani Rao <sohanirao@google.com> | Thu Jul 20 15:30:08 2017 -0700 |
committer | Sohani Rao <sohanirao@google.com> | Thu Jul 27 18:00:00 2017 -0700 |
tree | da337df6390d4a79454bb49ffdf49b5d171ad4dd | |
parent | 12353dec0aa7715cd6688b647956f0cfd04d2c5f [diff] |
Prevent apps from toggling Wifi when in Airplane mode The callers of setWifiEnabled must have NETWORK_SETTINGS permissions to able to enable Wifi in Airplane Mode. Add unit tests to verify the newly introduced code paths. Bug: 63515218 Test: Unit tests, mannual testing with an app Change-Id: Id5e6941a9748619b0c2b54102fb244178dd47472