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

Commit f98d5cb3 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

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


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