diff options
author | Tony Mak <ming030890@gmail.com> | 2017-12-16 11:43:21 +0000 |
---|---|---|
committer | Tony Mak <tonymak@google.com> | 2017-12-18 11:56:48 +0000 |
commit | 9558a884ddf52a38d471477abbc6b52c853471a9 (patch) | |
tree | b3b463279af5aea68c55776918134358e79ecbc4 /src/com/android/launcher3/popup/PopupContainerWithArrow.java | |
parent | 50f85e04f0358e524880fe496a3254c19fce6975 (diff) | |
download | android_packages_apps_Trebuchet-9558a884ddf52a38d471477abbc6b52c853471a9.tar.gz android_packages_apps_Trebuchet-9558a884ddf52a38d471477abbc6b52c853471a9.tar.bz2 android_packages_apps_Trebuchet-9558a884ddf52a38d471477abbc6b52c853471a9.zip |
Fix tab selected color is not rendered properly
We used to use mSelectedPosition for both tab / indicator position.
However, they are not always in sync.
For example, if user taps on a tab, that tab will be in "selected state"
right away when we are still showing the sliding animation.
The fix is to use two separate variables to keep track of
tab / indicator position.
Fix: 70778492
Change-Id: I9b01fa2108b256448d3de0113f9bed75043afefd
Diffstat (limited to 'src/com/android/launcher3/popup/PopupContainerWithArrow.java')
0 files changed, 0 insertions, 0 deletions