summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorChristopher Wiley <wiley@google.com>2016-07-13 18:57:34 -0700
committerMitchell Wills <mwills@google.com>2016-08-29 11:26:46 -0700
commit05f86d1eec26b588caf45dbfb5a412176428e0a7 (patch)
tree182eaa011ace20cdbfa39f18761fd622b6108e43 /opengl/tests/gl_basic/gl_basic.cpp
parent2d3face59a6c7cc4e3e8651545302f0fb836c011 (diff)
Properly disable WiFi tethering
When Tethering.stopTethering(<wifi>) is called, we set mWifiTetheringRequested to false and request the AP be torn down. Previously, we would discard WIFI_AP_STATE_CHANGED_ACTION Intents, because mWifiTetheringRequested was set to false. This would in turn cause us to leave tethering enabled, because we only tear down tethering upon noticing that the interface is going down (as signalled by WifiManager via this Intent). In the past, this was covered up because we would tear down tethering when the interface was taken down. Now that we rely on SoftApManager to notify us of AP state, we need to pay very close attention to what is being said about the state. Bug: 30124308 Test: Can toggle tethering on and off reliably on shamu, bullhead, angler with no SIM. Change-Id: If46a8ee11cf4c07c5cc336523f5e5f00273500ec (cherry picked from commit e52b24a0c52c6e29ea99760c920724f4143ac605)
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions