summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/trebuchet/Cling.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/cyanogenmod/trebuchet/Cling.java')
-rw-r--r--src/com/cyanogenmod/trebuchet/Cling.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/cyanogenmod/trebuchet/Cling.java b/src/com/cyanogenmod/trebuchet/Cling.java
index 00a4464ec..510121bdb 100644
--- a/src/com/cyanogenmod/trebuchet/Cling.java
+++ b/src/com/cyanogenmod/trebuchet/Cling.java
@@ -210,7 +210,7 @@ public class Cling extends FrameLayout {
}
}
return true;
- };
+ }
@Override
protected void dispatchDraw(Canvas canvas) {
@@ -283,10 +283,10 @@ public class Cling extends FrameLayout {
canvas.drawBitmap(b, 0, 0, null);
c.setBitmap(null);
- b = null;
+ b.recycle();
}
// Draw the rest of the cling
super.dispatchDraw(canvas);
- };
+ }
}