Do not log surface destroy by default

am: ad23b3fa11

Change-Id: I91303c5855ac0733a1de0c303236070d87089b85
This commit is contained in:
Chong Zhang
2016-09-01 00:45:58 +00:00
committed by android-build-merger

View File

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