am ce38c62a: Merge "Remove conservative MainKeyboardView.draw" into jb-mr1-dev

* commit 'ce38c62aef4c39eedc61de66a4e3f614db9c0faa':
  Remove conservative MainKeyboardView.draw
main
Tadashi G. Takaoka 2012-08-09 23:34:07 -07:00 committed by Android Git Automerger
commit 7a9695e455
1 changed files with 0 additions and 14 deletions

View File

@ -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.
*