diff options
author | Danny Baumann <dannybaumann@web.de> | 2012-05-27 08:59:50 +0200 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2012-06-07 11:33:29 +0200 |
commit | 7e0d636538582520108f01b7ea679a7f5ff5785a (patch) | |
tree | f487dfdfabb4d61aa2cbccb7e1f6e386dcb562bf /wifi/java/android/net/wifi/package.html | |
parent | 81af0ca973750969c6e54cf1b5b337092377f649 (diff) | |
download | frameworks_base-7e0d636538582520108f01b7ea679a7f5ff5785a.zip frameworks_base-7e0d636538582520108f01b7ea679a7f5ff5785a.tar.gz frameworks_base-7e0d636538582520108f01b7ea679a7f5ff5785a.tar.bz2 |
Fix lockscreen button behaviour.
Unlike the other buttons, the lockscreen disable button keeps the state
(disabled/enabled) in it instead of just displaying it, so in order to
make it reliable, a few things needed to be fixed:
- The actual lockscreen blocker was a member variable while the state
information was static. This could lead to the two variables getting
out of sync.
- On orientation or theme change, all widgets were destroyed and
recreated. If that happened while the lockscreen was disabled, the
blocker instance was lost, thus, there was no way to enable the
lockscreen again. Fix that by only recreating the views, not the whole
widgets.
- The lockscreen disable state wasn't stored persistently, thus didn't
survive a reboot.
Fixes http://code.google.com/p/cyanogenmod/issues/detail?id=2978.
Change-Id: I6f619740659cfedec3a3c9517fb55275f601d792
Diffstat (limited to 'wifi/java/android/net/wifi/package.html')
0 files changed, 0 insertions, 0 deletions