summaryrefslogtreecommitdiff
path: root/src/com/android/bitmap/drawable
diff options
context:
space:
mode:
authorRuben <rglez@google.com>2014-04-25 13:17:32 -0700
committerRuben <rglez@google.com>2014-04-25 13:17:32 -0700
commit2d10993c4276db5b28ef7cb909362fbbc26c460c (patch)
treed5007ecd11a9c37fc2280468f4fcacdccf686146 /src/com/android/bitmap/drawable
parentd732a611bd661fc2ac3c801a545cfbba0f179484 (diff)
downloadbitmap-2d10993c4276db5b28ef7cb909362fbbc26c460c.tar.gz
Add a few missed Trace.endSection()
Change-Id: Ib55c3ca461778a7efb21c4558efe7c4bfe27eb95
Diffstat (limited to 'src/com/android/bitmap/drawable')
-rw-r--r--src/com/android/bitmap/drawable/BasicBitmapDrawable.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/bitmap/drawable/BasicBitmapDrawable.java b/src/com/android/bitmap/drawable/BasicBitmapDrawable.java
index 42c4fbf..ffea5c8 100644
--- a/src/com/android/bitmap/drawable/BasicBitmapDrawable.java
+++ b/src/com/android/bitmap/drawable/BasicBitmapDrawable.java
@@ -142,6 +142,7 @@ public class BasicBitmapDrawable extends Drawable implements DecodeCallback,
public void bind(RequestKey key) {
Trace.beginSection("bind");
if (mCurrKey != null && mCurrKey.equals(key)) {
+ Trace.endSection();
return;
}
setImage(key);