diff options
author | Hu Wang <huw@codeaurora.org> | 2018-11-20 16:40:44 +0800 |
---|---|---|
committer | Hu Wang <huw@codeaurora.org> | 2018-11-20 17:34:34 +0800 |
commit | 24a9467a65c3ca04db15595e25abc82025afb640 (patch) | |
tree | b945bdcfabe736ace589f94272dc32767c468565 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | ec223e5fb272e41f1ee5a9e2263d43e216ca7f93 (diff) |
QS: Set transient state for hotspot icon when WIFI_AP_STATE_ENABLING
Hotspot icon's state is updated by onClick or wifi AP state change.
Current sequence of hotspot icon's state is:
1- onClick => Transient state
2- Recieved WIFI_AP_STATE_ENABLING => Disabled state.(*issue)
3- Recieved WIFI_AP_STATE_ENABLED => Enabled state.
Note:
Icon in disabled state means, next user click triggers start ap,
otherwise stop AP.
If click faster enough(e.g. between 2 and 3), extra start ap
request sends to Wi-Fi framework, but it fails to handle multiple
start ap requests (due to interface number limitation).
This commit replaces transientEnabling with isTransient to set
transient state for hotspot icon when WIFI_AP_STATE_ENABLING.
CRs-Fixed: 2349522
Change-Id: Iff5c45284340c2afc28bf354f873a87d9a5a5d2c
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions