Fix the flipping animation sometimes being played when pulling the quick
settings with two fingers. Commit c5e8dca7 already tried to fix this before, but was incomplete (and incorrect). The actual issue is that on the first pointer down event, a 'peek' animation runs and expands the notification panel by some pixels (on mako: 160). This amount of pixels is significantly larger than the handle height (on mako: 72). Depending on the timing between peek animation and the second pointer down event, the flip animation would play (if animation already revealed more than 72 pixels) or not. Fix that by not playing the flip animation if only peeking, as the actual panel content is not visible at that point anyway. Also remove the previous incomplete fix in the process. Change-Id: I8997dc7b70143940a519f41da29ffd4d738d8d0c
Loading
Please register or sign in to comment