Minor Util.postOrRun refactor: fix skipped reuse of variable created for reuse

This commit is contained in:
Uli Bubenheimer 2025-02-15 20:44:04 -05:00 committed by tonihei
parent 378e70e15f
commit 7cc97ddce2

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 {