Fix the fix

pull/162/head
M66B 5 years ago
parent 751aa90001
commit 82f33a3f7f

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

Loading…
Cancel
Save