diff options
| author | Victor Tseng <palatis@gmail.com> | 2017-04-10 10:17:38 +0300 |
|---|---|---|
| committer | Victor Tseng <palatis@gmail.com> | 2017-04-10 10:17:38 +0300 |
| commit | e2892cad8fcc22d575d43bcf1590ff4d24877200 (patch) | |
| tree | 82ce10b699a745ce7d564a8f3e6213eb1a68309d /sample/src/main/java/example/zxing/MainActivity.java | |
| parent | 29848b2b4f54ddf2b50ac0547165404997c19a16 (diff) | |
| download | zxing-android-embedded-e2892cad8fcc22d575d43bcf1590ff4d24877200.tar.xz | |
don't allocate in ViewfinderView.onDraw()
don't alloc in onDraw() as indicated by lint, avoids GC.
we now draw lastPossibleResultPoints before possibleResultPoints,
however it doesn't really matter which one is drawn first, since current
ones are going to cover last ones anyway.
Diffstat (limited to 'sample/src/main/java/example/zxing/MainActivity.java')
0 files changed, 0 insertions, 0 deletions
