Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions library/src/main/java/com/andexert/library/RippleView.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ public void draw(Canvas canvas) {
durationEmpty = -1;
timerEmpty = 0;
// There is problem on Android M where canvas.restore() seems to be called automatically
// For now, don't call canvas.restore() manually on Android M (API 23)
if(Build.VERSION.SDK_INT != 23) {
// For now, don't call canvas.restore() manually on Android M (API 23 And 24 and API)
if(Build.VERSION.SDK_INT < 23) {
canvas.restore();
}
invalidate();
Expand Down