mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
cleanup and add a bit of logging
I suspect curThis() is no longer needed so will log it for a while.
This commit is contained in:
parent
2285502f33
commit
e1dbd8efc7
2 changed files with 6 additions and 4 deletions
|
@ -160,7 +160,9 @@ public class DelegateBase implements DlgClickNotify,
|
||||||
if ( null != ref ) {
|
if ( null != ref ) {
|
||||||
result = ref.get();
|
result = ref.get();
|
||||||
}
|
}
|
||||||
// DbgUtils.logdf( "%s.curThis() => " + result, this.toString() );
|
if ( this != result ) {
|
||||||
|
DbgUtils.logdf( "%s.curThis() => " + result, this.toString() );
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -65,12 +65,12 @@ public class FirstRunDialog {
|
||||||
view.getSettings().setJavaScriptEnabled( true ); // for surveymonkey
|
view.getSettings().setJavaScriptEnabled( true ); // for surveymonkey
|
||||||
view.loadUrl("file:///android_asset/changes.html");
|
view.loadUrl("file:///android_asset/changes.html");
|
||||||
|
|
||||||
AlertDialog dialog = LocUtils.makeAlertBuilder( context )
|
LocUtils.makeAlertBuilder( context )
|
||||||
.setIcon(android.R.drawable.ic_menu_info_details)
|
.setIcon(android.R.drawable.ic_menu_info_details)
|
||||||
.setTitle( R.string.changes_title )
|
.setTitle( R.string.changes_title )
|
||||||
.setView( view )
|
.setView( view )
|
||||||
.setPositiveButton( android.R.string.ok, null)
|
.setPositiveButton( android.R.string.ok, null)
|
||||||
.create();
|
.create()
|
||||||
dialog.show();
|
.show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue