commit | 4715cafcbe76ac79b0b25ec62ec4ad8b55a2d41d | [log] [tgz] |
---|---|---|
author | Makoto Onuki <omakoto@google.com> | Tue Aug 23 13:14:04 2011 -0700 |
committer | Makoto Onuki <omakoto@google.com> | Tue Aug 23 13:19:36 2011 -0700 |
tree | 7c558e1fcfabf4fbc3c28a9cde6d26b926676b7f | |
parent | 69aa5899ef42c0ca18b52d638d82ca019b168935 [diff] |
Persist selected group on rotation It was all about timing of restoration. We did have the code to restore it, but it should have been done before mAdapter.setSelectedGroup(). Also switched from Bundle.putString() to putParcelable(). (putParcelable accepts null -- so the change should be safe.) (This CL also restores the activated item on the group browse list, although we don't set proper background to it.) Bug 5137176 Change-Id: I735f80419c60bb3dd5e760c639900b4eba1ef6c5