summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2018-03-15 12:26:29 -0400
committerDerek Sollenberger <djsollen@google.com>2018-03-15 16:34:38 +0000
commitae8d63ab1d7da7d96e5865a9a9ae2d5fcc8dbab8 (patch)
tree9e78f782417025e47ea5803fa3fadbbdf9b8c8c6 /java
parentf2874ff76230a05421c653e1aed6e288062d82cf (diff)
Remove deprecated android.graphics.Canvas APIs
Bug: 73777445 Test: compile Change-Id: Ie05f84a96ff0d66fd48fd10bafdd93c4bc0e3379
Diffstat (limited to 'java')
-rw-r--r--java/com/android/contacts/common/list/PinnedHeaderListView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/android/contacts/common/list/PinnedHeaderListView.java b/java/com/android/contacts/common/list/PinnedHeaderListView.java
index 33c68b68c..a801624b4 100644
--- a/java/com/android/contacts/common/list/PinnedHeaderListView.java
+++ b/java/com/android/contacts/common/list/PinnedHeaderListView.java
@@ -513,7 +513,7 @@ public class PinnedHeaderListView extends AutoScrollListView
canvas.translate(translateX, header.y);
if (header.state == FADING) {
mBounds.set(0, 0, view.getWidth(), view.getHeight());
- canvas.saveLayerAlpha(mBounds, header.alpha, Canvas.ALL_SAVE_FLAG);
+ canvas.saveLayerAlpha(mBounds, header.alpha);
}
view.draw(canvas);
canvas.restoreToCount(saveCount);