From 7c39bf606443adb5a54f5e58eba80f5086533a15 Mon Sep 17 00:00:00 2001 From: Eric House Date: Thu, 9 Feb 2017 06:41:38 -0800 Subject: [PATCH] call via activity in common case too --- .../src/main/java/org/eehouse/android/xw4/DlgDelegate.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DlgDelegate.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DlgDelegate.java index 8704b93c8..8708c67a9 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DlgDelegate.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DlgDelegate.java @@ -462,8 +462,8 @@ public class DlgDelegate { if ( Action.SKIP_CALLBACK != action ) { post( new Runnable() { public void run() { - m_clickCallback - .onPosButton( action, params ); + XWActivity xwact = (XWActivity)m_activity; + xwact.onPosButton( action, params ); } }); }