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

Commit ec0a2e58 authored by Chong Zhang's avatar Chong Zhang Committed by android-build-merger
Browse files

Do not log surface destroy by default am: ad23b3fa

am: 104a58b3

Change-Id: I99239c9c3d6f5129dfb5a7254dd594159ea5d700
parents b0b25b6a 104a58b3
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -153,9 +153,9 @@ class WindowSurfaceController {
    }
    }


    void destroyInTransaction() {
    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));
            Slog.i(TAG, "Destroying surface " + this + " called by " + Debug.getCallers(8));
        //        }
        }
        try {
        try {
            if (mSurfaceControl != null) {
            if (mSurfaceControl != null) {
                mSurfaceControl.destroy();
                mSurfaceControl.destroy();