Remove ripple from Dark mode tile
As when enabling Battery saver and entering Dark Mode, the ripple animation is interrupted due to QS recreating. This disables the animation from the Dark mode tile. Fixes: 130745997 Test: visual Change-Id: I5c44c1408efe70f46a3ac301b86e01c77bc0e98d
This commit is contained in:
@@ -81,6 +81,7 @@ public class UiModeNightTile extends QSTileImpl<QSTile.BooleanState> implements
|
||||
state.icon = mIcon;
|
||||
state.expandedAccessibilityClassName = Switch.class.getName();
|
||||
state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE;
|
||||
state.showRippleEffect = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user