Skip to content
Snippets Groups Projects
Commit 1b6829b0 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Remove conservative MainKeyboardView.draw

Change-Id: I52f58d1e013dfe1f1b0f8320cba903d3dbb4eabd
parent 5bb42062
No related branches found
No related tags found
No related merge requests found
......@@ -835,20 +835,6 @@ public class MainKeyboardView extends KeyboardView implements PointerTracker.Key
return false;
}
@Override
public void draw(Canvas c) {
Utils.GCUtils.getInstance().reset();
boolean tryGC = true;
for (int i = 0; i < Utils.GCUtils.GC_TRY_LOOP_MAX && tryGC; ++i) {
try {
super.draw(c);
tryGC = false;
} catch (OutOfMemoryError e) {
tryGC = Utils.GCUtils.getInstance().tryGCOrWait(TAG, e);
}
}
}
/**
* Receives hover events from the input framework.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment