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

Commit d27e8768 authored by Benjamin Hendricks's avatar Benjamin Hendricks
Browse files

Camera2: Fixed issue with HashSet not being initialized

Bug: 10345921
Change-Id: I6d12562484b0ed9c59b22e231c3dd050e046b58d
parent 24eb8a31
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ public final class CameraManager {

    private final ICameraService mCameraService;
    private ArrayList<String> mDeviceIdList;
    private HashSet<CameraListener> mListenerSet;
    private HashSet<CameraListener> mListenerSet = new HashSet<CameraListener>();
    private final Context mContext;
    private final Object mLock = new Object();