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
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user