Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 229ae138 authored by Angus Kong's avatar Angus Kong
Browse files

Fix NPE when reconnecting camera.

bug:8513852
Change-Id: I45150e5519604f695d25c830262c8b6eb363b1d3
parent c6a1167e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -334,7 +334,7 @@ public class CameraManager {
                holder = mReconnectExceptionQueue.take();
            } catch (InterruptedException ex) {
            }
            if (holder == null || holder.ex != null) {
            if (holder != null && holder.ex != null) {
                throw holder.ex;
            }
        }