OSDN Git Service

Fixing issue with flash during overview transition.
authorWinson Chung <winsonc@google.com>
Fri, 31 Jul 2015 19:39:57 +0000 (12:39 -0700)
committerWinson Chung <winsonc@google.com>
Fri, 31 Jul 2015 19:59:11 +0000 (12:59 -0700)
commite8f1d047b1b788bc9884be2417e7aa0cec7e8ae8
tree3b28fa97aaeb8594c776636bf04aa4636f876042
parentdeaf4d169b6e08ae2c41ae67ea97147164089b16
Fixing issue with flash during overview transition.

- This is due to the TransitionDrawable which does not actually
  start an animation until it is first drawn.  This workaround
  will just immediately reset the transition if it is not currently
  visible instead of animating (which is actually deferred until
  the next animation into overview mode).

Bug: 22414257
Change-Id: Id481303d0c99a20c1d16396c024ab50303f45576
src/com/android/launcher3/CellLayout.java