Merge "Fix the back button ripple." into oc-dev
am: a7914f24dd
Change-Id: I35e474ed44380821278009945529474b6251c23b
This commit is contained in:
@@ -194,6 +194,11 @@ public class KeyButtonRipple extends Drawable {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasFocusStateSpecified() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public void setPressed(boolean pressed) {
|
||||
if (mDark != mLastDark && pressed) {
|
||||
mRipplePaint = null;
|
||||
|
||||
Reference in New Issue
Block a user