commit | d93c149f4da67aa6dbbbc58f33d1f7c7db7a7068 | [log] [tgz] |
---|---|---|
author | Yorke Lee <yorkelee@google.com> | Wed Nov 05 12:00:20 2014 -0800 |
committer | Yorke Lee <yorkelee@google.com> | Thu Nov 06 09:55:47 2014 -0800 |
tree | d2b228be9686a26f70c29d5df45d09efde49ff55 | |
parent | e6b0084dde5ae729584095cfe17bbc13eac6e5b7 [diff] |
Fix for "Clear call log" menu item showing up incorrectly. The fragment member variables were being lost on rotation because the FragmentManager does not call getItem on rotation. Fix the way we save the fragments into member variables to ensure that those references are always up to date so that mAllCallsFragment is not null after rotation. Bug: 17478780 Change-Id: I5a0c070273f2d86864afd96c6bb6551bcd0d1aa4