commit | 41bccc244efc5f337931422d01df2e4ecec700a9 | [log] [tgz] |
---|---|---|
author | Tony Mak <tonymak@google.com> | Tue Nov 28 11:34:09 2017 +0000 |
committer | Tony Mak <tonymak@google.com> | Tue Nov 28 11:50:03 2017 +0000 |
tree | 9be6a0af0b33e7dc152f9b8ab4445af40ffbd998 | |
parent | 0c2d9b0f3e65fefc74520479d963613055ef6ccf [diff] |
Preserve tab position To reproduce the issue: 1. Swipe to work tab 2. Tap Home 3. Swipe up to show all apps, you can see the personal tab is highlighted while the view pager is showing work apps. We cleared the state whenever onLayout is called, we should make use of mSelectedPosition. Change-Id: I621b3c9ada0eb608280fe5e4ea8715f3a341820d