Merge pull request #2149 from bubenheimer:util_postorrun_fix

PiperOrigin-RevId: 729495445
This commit is contained in:
Copybara-Service 2025-02-21 05:40:11 -08:00
commit 05c8a66dc2

View File

@ -795,7 +795,7 @@ public final class Util {
if (!looper.getThread().isAlive()) {
return false;
}
if (handler.getLooper() == Looper.myLooper()) {
if (looper == Looper.myLooper()) {
runnable.run();
return true;
} else {