Currently, the sample app calls restartActivity() in onPermissionGranted() on granting the camera permission.
Is it instead possible to handle this without re-inflating the SurfaceView or restarting the activity?
Using the QREader.Builder plus initAndStart() in onPermissionGranted() does not work on and still displays a black screen.