+84
−0
packages/SystemUI/checks/tests/com/android/internal/systemui/lint/RunBlockingDetectorTest.kt
0 → 100644
+104
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
We should never use runBlocking, as we found out they often cause priority inversion due to the inner code switching to background threads while the main thread is waiting Bug: 401460180 Test: RunBlockingDetectorTest Flag: NONE - new linter Change-Id: I6c5a1ff2c7c1f2eae99c1fdba7edaafdf5c0ffe2