diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GameListItem.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GameListItem.java
index e3307275b..1c223e2be 100644
--- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GameListItem.java
+++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GameListItem.java
@@ -353,6 +353,11 @@ public class GameListItem extends LinearLayout
// Setting to 0 clears, which we want
ImageView iv = (ImageView)findViewById( R.id.has_chat_marker );
iv.setImageResource( resID );
+ if ( BuildConfig.NON_RELEASE ) {
+ int quarCount = Quarantine.getCount( m_rowid );
+ ((TextView)findViewById(R.id.corrupt_count_marker))
+ .setText( 0 == quarCount ? "" : "" + quarCount );
+ }
if ( XWPrefs.moveCountEnabled( m_context ) ) {
TextView tv = (TextView)findViewById( R.id.n_pending );
diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/Quarantine.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/Quarantine.java
index dc52ea53b..f95a81331 100644
--- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/Quarantine.java
+++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/Quarantine.java
@@ -31,13 +31,20 @@ public class Quarantine {
private static final String TAG = Quarantine.class.getSimpleName();
private static final String DATA_KEY = TAG + "/key";
private static final int BAD_COUNT = 2;
+ private static Data[] sDataRef = {null};
+
+ public static int getCount( long rowid )
+ {
+ int result;
+ synchronized ( sDataRef ) {
+ result = get().getFor( rowid );
+ }
+ return result;
+ }
public static boolean safeToOpen( long rowid )
{
- int count;
- synchronized ( sDataRef ) {
- count = get().getFor( rowid );
- }
+ int count = getCount( rowid );
boolean result = count < BAD_COUNT;
if ( !result ) {
Log.d( TAG, "safeToOpen(%d) => %b (count=%d)", rowid, result, count );
@@ -136,8 +143,6 @@ public class Quarantine {
}
}
- private static Data[] sDataRef = {null};
-
private static void store()
{
synchronized( sDataRef ) {
diff --git a/xwords4/android/app/src/main/res/layout/game_list_item.xml b/xwords4/android/app/src/main/res/layout/game_list_item.xml
index 7bb07d00b..850cc7b17 100644
--- a/xwords4/android/app/src/main/res/layout/game_list_item.xml
+++ b/xwords4/android/app/src/main/res/layout/game_list_item.xml
@@ -53,6 +53,12 @@
android:layout_height="22dp"
android:layout_alignParentBottom="true"
/>
+
+