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

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

Merge "Stop invoke initAppOps in Camera default constructor."

parents 4a355a58 cb63c640
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -571,9 +571,7 @@ public class Camera {
    /**
     * An empty Camera for testing purpose.
     */
    Camera() {
        initAppOps();
    }
    Camera() {}

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