Closed baklim closed 7 years ago
Upgraded to LOS 14.4:
05-20 12:20:23.756 5357 8840 I ActivityManager: START u0 {cmp=co.krypt.kryptonite/.MainActivity} from uid 10207 on display 0
05-20 12:20:26.150 4485 19388 I CameraService: CameraService::connect call (PID -1 "co.krypt.kryptonite", camera ID 0) for HAL version default and Camera API version 1
05-20 12:20:26.152 4485 19388 I Camera2ClientBase: Camera 0: Opened. Client: co.krypt.kryptonite (PID 936, UID 10207)
05-20 12:20:26.286 936 7179 E BarcodeNativeHandle: at co.krypt.kryptonite.pairing.PairScanner.<init>(PairScanner.java:51)
05-20 12:20:26.286 936 7179 E BarcodeNativeHandle: at co.krypt.kryptonite.pairing.PairFragment.startCamera(PairFragment.java:283)
05-20 12:20:26.286 936 7179 E BarcodeNativeHandle: at co.krypt.kryptonite.pairing.PairFragment.updateCamera(PairFragment.java:316)
05-20 12:20:26.286 936 7179 E BarcodeNativeHandle: at co.krypt.kryptonite.pairing.PairFragment.access$400(PairFragment.java:48)
05-20 12:20:26.286 936 7179 E BarcodeNativeHandle: at co.krypt.kryptonite.pairing.PairFragment$5.run(PairFragment.java:331)
05-20 12:20:26.302 936 7179 E BarcodeNativeHandle: at co.krypt.kryptonite.pairing.PairScanner.<init>(PairScanner.java:53)
05-20 12:20:26.302 936 7179 E BarcodeNativeHandle: at co.krypt.kryptonite.pairing.PairFragment.startCamera(PairFragment.java:283)
05-20 12:20:26.302 936 7179 E BarcodeNativeHandle: at co.krypt.kryptonite.pairing.PairFragment.updateCamera(PairFragment.java:316)
05-20 12:20:26.302 936 7179 E BarcodeNativeHandle: at co.krypt.kryptonite.pairing.PairFragment.access$400(PairFragment.java:48)
05-20 12:20:26.302 936 7179 E BarcodeNativeHandle: at co.krypt.kryptonite.pairing.PairFragment$5.run(PairFragment.java:331)
Thank you for the report. PairScanner.java:51
is the initialization of the BarcodeDetector we use to parse the QR code. Unfortunately I don't have a phone running LOS at the moment. A potential solution might be to integrate an alternate barcode scanner library.
Add ability to use external app is another solution. Barcode Scanner works as expected.
This should now be working (pending release of 2.3.0) as we use zxing as a QR scanner now.
Device: Xiaomi Redmi Note 3 ROM: LineageOS 13 (Android MM) logcat: