summaryrefslogtreecommitdiff
path: root/sample/src/main/java/example/zxing/MainActivity.java
diff options
context:
space:
mode:
authorVictor Tseng <palatis@gmail.com>2017-04-10 10:17:38 +0300
committerVictor Tseng <palatis@gmail.com>2017-04-10 10:17:38 +0300
commite2892cad8fcc22d575d43bcf1590ff4d24877200 (patch)
tree82ce10b699a745ce7d564a8f3e6213eb1a68309d /sample/src/main/java/example/zxing/MainActivity.java
parent29848b2b4f54ddf2b50ac0547165404997c19a16 (diff)
downloadzxing-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