title: QR Code Scanner App works perfectly EXCEPT in Nougat
body: <p>Been a while since I last asked a question here. Googled, Stack-Overflowed, etc - feels like no one else had this problem.</p>
  
  <p>Anyway, I created an app for a client that reads a QR Code from their employees' ID to time them in or out; a bundy clock with a twist. I am not very good with Android programming but I am good with programming in general; my background is in Visual Basic and Java. I used Google's Vision API for the camera and it works beautifully. I used API-17 since the only available tablet I have for testing runs on Jelly Bean.</p>
  
  <p>So, my client buys a tablet for the app and it runs on Nougat 7.0. For some reason, the SurfaceView just sits there. It can "see" but it does not read the QR Code. I tap it to auto-focus, even change the preferred camera (that I built into my code), and it still does not read any QR code. I installed my app in devices running Kitkat, Lollipop, Marshmallow, Oreo, even Pie and they all work EXCEPT the one running Nougat! I haven't tried installing it in another device with Nougat though and I might do that after this posting - maybe it's the device itself? It's a Huawei Mediapad M3 Lite and runs on its own custom OS based on Nougat so it could also be that.</p>
  
  <p>But, just in case I missed something, maybe someone with a lot more expertise on Android programming here can help shed some light on this mystery.</p>
  
  <p>UPDATE: I installed my app in a Nougat-7.1 device and it worked. I reinstalled the app in the Mediapad M3 Lite, still NOT working. I am inclined to believe that this issue might have something to do with Nougat-7.0 or the Custom OS of Huawei (EMUI 5.1.3).</p>