mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Fix warnings and remove dead code
Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac
This commit is contained in:
@@ -167,8 +167,9 @@ public class DragView extends View {
|
||||
|
||||
@Override
|
||||
protected void onDraw(Canvas canvas) {
|
||||
if (false) {
|
||||
// for debugging
|
||||
@SuppressWarnings("all") // suppress dead code warning
|
||||
final boolean debug = false;
|
||||
if (debug) {
|
||||
Paint p = new Paint();
|
||||
p.setStyle(Paint.Style.FILL);
|
||||
p.setColor(0x66ffffff);
|
||||
|
||||
Reference in New Issue
Block a user