Merge "Do not log surface destroy by default" into nyc-mr1-dev

This commit is contained in:
TreeHugger Robot
2016-09-01 00:39:34 +00:00
committed by Android (Google) Code Review

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();