Merge "Fix the back button ripple." into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a7914f24dd
@@ -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