diff --git a/xwords4/android/app/build.gradle b/xwords4/android/app/build.gradle index 9842508bd..2fb32a7b3 100644 --- a/xwords4/android/app/build.gradle +++ b/xwords4/android/app/build.gradle @@ -15,6 +15,11 @@ def BT_UUIDS = [ 'xw4NoSMSRelease' : XW_UUID, 'xw4SMSDebug' : XW_UUID, 'xw4SMSRelease' : XW_UUID, + + 'xw4dRelease' : XWD_UUID, + 'xw4dDebug' : XWD_UUID, + 'xw4dNoSMSRelease' : XWD_UUID, + 'xw4dNoSMSDebug' : XWD_UUID, ] // AID must start with F (first 4 bits) and be from 5 to 16 bytes long diff --git a/xwords4/linux/curgamlistwin.c b/xwords4/linux/curgamlistwin.c index 5d34f3674..359e475ba 100644 --- a/xwords4/linux/curgamlistwin.c +++ b/xwords4/linux/curgamlistwin.c @@ -19,6 +19,8 @@ #include #include +#include +#include #include "curgamlistwin.h" @@ -29,6 +31,7 @@ struct CursGameList { int yOffset; GSList* games; sqlite3* pDb; + int pid; }; static void adjustCurSel( CursGameList* cgl ); @@ -42,6 +45,7 @@ cgl_init( sqlite3* pDb, int width, int height ) XP_LOGF( "%s(): made window with height=%d, width=%d", __func__, height, width ); cgl->width = width; cgl->height = height; + cgl->pid = getpid(); return cgl; } @@ -277,7 +281,7 @@ cgl_draw( CursGameList* cgl ) } char buf[cgl->width + 1]; - snprintf( buf, VSIZE(buf), "%d games total", nGames ); + snprintf( buf, VSIZE(buf), "pid: %d; nGames: %d", cgl->pid, nGames ); mvwaddstr( win, 0, 0, buf ); wrefresh( win );