diff options
author | Android Dialer <noreply@google.com> | 2018-03-15 12:13:33 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-15 15:57:40 -0700 |
commit | fae1ecb6de6a1ae54ca5de92152c03a64ec1b09a (patch) | |
tree | 24c5783878cdf9549f6ae58e27814043a383d5b0 /java/com/android/contacts/common/list/PinnedHeaderListView.java | |
parent | 189fe2dd3dbb0a8e5a75c76b8161c36e6b2dad0a (diff) |
Remove deprecated android.graphics.Canvas APIs
Bug: 73777445
Test: TAP
PiperOrigin-RevId: 189225531
Change-Id: I806be1c2a05d842b4991a9c95c19238f999d814d
Diffstat (limited to 'java/com/android/contacts/common/list/PinnedHeaderListView.java')
-rw-r--r-- | java/com/android/contacts/common/list/PinnedHeaderListView.java | 2 |
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); |