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

Commit ad23b3fa authored by Chong Zhang's avatar Chong Zhang
Browse files

Do not log surface destroy by default

Put it back under SHOW_TRANSACTIONS, this was for assist debugging
some early surface destroy issues but should be no longer needed.

Change-Id: I0806ac0ad2c9de3d0ccf9af995ced25c9a2f7668
parent 40e61941
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -153,9 +153,9 @@ class WindowSurfaceController {
    }

    void destroyInTransaction() {
        //        if (SHOW_TRANSACTIONS || SHOW_SURFACE_ALLOC) {
        if (SHOW_TRANSACTIONS || SHOW_SURFACE_ALLOC) {
            Slog.i(TAG, "Destroying surface " + this + " called by " + Debug.getCallers(8));
        //        }
        }
        try {
            if (mSurfaceControl != null) {
                mSurfaceControl.destroy();