diff options
author | Danesh M <daneshm90@gmail.com> | 2015-09-30 15:52:08 -0700 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-27 14:09:46 -0700 |
commit | 32595464601e7d20eb0283aac5d110a70129d4a2 (patch) | |
tree | 3004716ce960d2c6384ab1a58106003f632462bd /res/values-tl-nokeys | |
parent | c799ad4db86472f23f65597dd4f9002516059fdd (diff) | |
download | packages_apps_Settings-32595464601e7d20eb0283aac5d110a70129d4a2.zip packages_apps_Settings-32595464601e7d20eb0283aac5d110a70129d4a2.tar.gz packages_apps_Settings-32595464601e7d20eb0283aac5d110a70129d4a2.tar.bz2 |
Settings : Fix profile action offset when changing orientation
If a listview has headers/footers, getItemAtPosition takes that into account
given a position. When we restore state, we fetch it from the adapter which has
no concept of header/footer.
Fix this by storing the position in the adapter itself.
Repro:
1) Create new profile
2) Skip triggers
3) Click one of the preferences
4) Rotate phone
5) Notice the title change
Change-Id: Ifaecf99615d922140e8cd531ab164320de729439
issue-id: CYNGNOS-1168
Diffstat (limited to 'res/values-tl-nokeys')
0 files changed, 0 insertions, 0 deletions