mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Minor Util.postOrRun refactor: fix skipped reuse of variable created for reuse
This commit is contained in:
parent
378e70e15f
commit
7cc97ddce2
@ -795,7 +795,7 @@ public final class Util {
|
|||||||
if (!looper.getThread().isAlive()) {
|
if (!looper.getThread().isAlive()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (handler.getLooper() == Looper.myLooper()) {
|
if (looper == Looper.myLooper()) {
|
||||||
runnable.run();
|
runnable.run();
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user