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

Commit 39a305ea authored by Daichi Hirono's avatar Daichi Hirono Committed by android-build-merger
Browse files

Merge "Stop invoke initAppOps in Camera default constructor." am: 0890a2b5

am: f98d5cb3

Change-Id: Id24b3456d69a03557382023ddcff6ebd4aa3cc9e
parents e2d9760c f98d5cb3
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -575,9 +575,7 @@ public class Camera {
    /**
     * An empty Camera for testing purpose.
     */
    Camera() {
        initAppOps();
    }
    Camera() {}

    private void initAppOps() {
        IBinder b = ServiceManager.getService(Context.APP_OPS_SERVICE);