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:
Eric House 2016-08-19 12:49:30 -07:00
parent 2285502f33
commit e1dbd8efc7
2 changed files with 6 additions and 4 deletions

View file

@ -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;
} }

View file

@ -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();
} }
} }