From a86ff8b7b0723d7ee438caa3f1474fdf97882e2e Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 5 Jul 2016 20:17:55 -0700 Subject: [PATCH] revert change that broke board updating on 2.3.7. Yay for git bisect!!!! --- .../XWords4/src/org/eehouse/android/xw4/BoardView.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardView.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardView.java index bdce2cc09..72bec8c7c 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardView.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardView.java @@ -321,10 +321,10 @@ public class BoardView extends View implements BoardHandler, SyncedDraw { } } - // Force update now that we have bits to copy - if ( drew ) { - m_parent.runOnUiThread( m_invalidator ); - } + // Force update now that we have bits to copy. I don't know why (yet), + // but on older versions of Android we need to run this even if drew + // is false + m_parent.runOnUiThread( m_invalidator ); } public void dimsChanged( BoardDims dims )