Fix the fix

This commit is contained in:
M66B 2019-10-07 08:53:12 +02:00
parent 751aa90001
commit 82f33a3f7f
1 changed files with 11 additions and 6 deletions

View File

@ -3601,14 +3601,19 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
mMainThreadExecutor.setAccessible(true);
mMainThreadExecutor.set(this.differ, new Executor() {
@Override
public void execute(Runnable command) {
public void execute(final Runnable command) {
handler.post(new Runnable() {
@Override
public void run() {
try {
handler.post(command);
command.run();
} catch (Throwable ex) {
Log.e(ex);
}
}
});
}
});
} catch (Throwable ex) {
Log.e(ex);
}