am aa229902: Merge "Jump ripples to end when switching to a non-hardware canvas" into lmp-mr1-dev
* commit 'aa229902ef73f8777768414092eaf99eeff05f87': Jump ripples to end when switching to a non-hardware canvas
This commit is contained in:
@@ -214,7 +214,7 @@ class Ripple {
|
||||
final boolean canUseHardware = c.isHardwareAccelerated();
|
||||
if (mCanUseHardware != canUseHardware && mCanUseHardware) {
|
||||
// We've switched from hardware to non-hardware mode. Panic.
|
||||
cancelHardwareAnimations(false);
|
||||
cancelHardwareAnimations(true);
|
||||
}
|
||||
mCanUseHardware = canUseHardware;
|
||||
|
||||
|
||||
@@ -148,7 +148,7 @@ class RippleBackground {
|
||||
final boolean canUseHardware = c.isHardwareAccelerated();
|
||||
if (mCanUseHardware != canUseHardware && mCanUseHardware) {
|
||||
// We've switched from hardware to non-hardware mode. Panic.
|
||||
cancelHardwareAnimations(false);
|
||||
cancelHardwareAnimations(true);
|
||||
}
|
||||
mCanUseHardware = canUseHardware;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user