Fix the fix

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

@ -3601,12 +3601,17 @@ 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) {
try { handler.post(new Runnable() {
handler.post(command); @Override
} catch (Throwable ex) { public void run() {
Log.e(ex); try {
} command.run();
} catch (Throwable ex) {
Log.e(ex);
}
}
});
} }
}); });
} catch (Throwable ex) { } catch (Throwable ex) {

Loading…
Cancel
Save