From 3142069adb59639d3302400395cbc36b5f768462 Mon Sep 17 00:00:00 2001 From: Eric House Date: Sat, 9 Nov 2013 07:19:54 -0800 Subject: [PATCH] save bitmap after generating it --- .../android/XWords4/src/org/eehouse/android/xw4/GameUtils.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameUtils.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameUtils.java index 8a5f8820b..b8b32be5d 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameUtils.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameUtils.java @@ -298,7 +298,6 @@ public class GameUtils { public static Bitmap loadMakeBitmap( Activity activity, long rowid ) { - DbgUtils.logf( "loadMakeBitmap(): taking snapshot..." ); Bitmap thumb = null; GameLock lock = new GameLock( rowid, false ); if ( lock.tryLock() ) { @@ -307,11 +306,11 @@ public class GameUtils { if ( 0 != gamePtr ) { thumb = takeSnapshot( activity, gamePtr, gi ); XwJNI.game_dispose( gamePtr ); + DBUtils.saveThumbnail( activity, lock, thumb ); } lock.unlock(); } - DbgUtils.logf( "loadMakeBitmap(): done with snapshot" ); return thumb; }