Correctly log buffer unfreeze events

Previously the events were dropped on the floor since we were still
frozen.

Bug: 277974555
Test: atest
Change-Id: Ia6e26e8bc5226919d7b9797905bbd19f8503e7b2
This commit is contained in:
Ned Burns
2023-04-12 21:00:35 -04:00
parent 04d8f589eb
commit a85afccbf1

View File

@@ -253,8 +253,8 @@ constructor(
@Synchronized
fun unfreeze() {
if (frozen) {
log(TAG, LogLevel.DEBUG, { str1 = name }, { "$str1 unfrozen" })
frozen = false
log(TAG, LogLevel.DEBUG, { str1 = name }, { "$str1 unfrozen" })
}
}