mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Merge pull request #2149 from bubenheimer:util_postorrun_fix
PiperOrigin-RevId: 729495445
This commit is contained in:
commit
05c8a66dc2
@ -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