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

Commit ffac02d9 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Make getCameraIdListNoLazy handle no service case"

parents eff34ec9 9fa43dad
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1076,6 +1076,10 @@ public final class CameraManager {
        }

        public String[] getCameraIdListNoLazy() {
            if (sCameraServiceDisabled) {
                return new String[] {};
            }

            CameraStatus[] cameraStatuses;
            ICameraServiceListener.Stub testListener = new ICameraServiceListener.Stub() {
                @Override