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 (cherry picked from commit 90fff8f0)
Loading
Please register or sign in to comment