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