mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-27 07:58:49 +01:00
fix format specifier to not crash (use %h); remove redundant logging.
This commit is contained in:
parent
84502a89bf
commit
4f29048f49
3 changed files with 14 additions and 15 deletions
|
@ -314,7 +314,6 @@ public class BoardActivity extends XWActivity
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate( Bundle savedInstanceState )
|
protected void onCreate( Bundle savedInstanceState )
|
||||||
{
|
{
|
||||||
Utils.logf( "BoardActivity::onCreate()" );
|
|
||||||
super.onCreate( savedInstanceState );
|
super.onCreate( savedInstanceState );
|
||||||
|
|
||||||
if ( CommonPrefs.getHideTitleBar( this ) ) {
|
if ( CommonPrefs.getHideTitleBar( this ) ) {
|
||||||
|
|
|
@ -38,7 +38,7 @@ public class XWActivity extends Activity {
|
||||||
|
|
||||||
protected void onCreate( Bundle savedInstanceState )
|
protected void onCreate( Bundle savedInstanceState )
|
||||||
{
|
{
|
||||||
Utils.logf( "%s.onCreate(this=%x)", getClass().getName(), this );
|
Utils.logf( "%s.onCreate(this=%H)", getClass().getName(), this );
|
||||||
super.onCreate( savedInstanceState );
|
super.onCreate( savedInstanceState );
|
||||||
m_delegate = new DlgDelegate( this );
|
m_delegate = new DlgDelegate( this );
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@ public class XWActivity extends Activity {
|
||||||
@Override
|
@Override
|
||||||
protected void onStart()
|
protected void onStart()
|
||||||
{
|
{
|
||||||
Utils.logf( "%s.onStart(this=%x)", getClass().getName(), this );
|
Utils.logf( "%s.onStart(this=%H)", getClass().getName(), this );
|
||||||
super.onStart();
|
super.onStart();
|
||||||
DispatchNotify.SetRunning( this );
|
DispatchNotify.SetRunning( this );
|
||||||
}
|
}
|
||||||
|
@ -54,21 +54,21 @@ public class XWActivity extends Activity {
|
||||||
@Override
|
@Override
|
||||||
protected void onResume()
|
protected void onResume()
|
||||||
{
|
{
|
||||||
Utils.logf( "%s.onResume(this=%x)", getClass().getName(), this );
|
Utils.logf( "%s.onResume(this=%H)", getClass().getName(), this );
|
||||||
super.onResume();
|
super.onResume();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onPause()
|
protected void onPause()
|
||||||
{
|
{
|
||||||
Utils.logf( "%s.onPause(this=%x)", getClass().getName(), this );
|
Utils.logf( "%s.onPause(this=%H)", getClass().getName(), this );
|
||||||
super.onPause();
|
super.onPause();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onStop()
|
protected void onStop()
|
||||||
{
|
{
|
||||||
Utils.logf( "%s.onStop(this=%x)", getClass().getName(), this );
|
Utils.logf( "%s.onStop(this=%H)", getClass().getName(), this );
|
||||||
DispatchNotify.ClearRunning( this );
|
DispatchNotify.ClearRunning( this );
|
||||||
super.onStop();
|
super.onStop();
|
||||||
}
|
}
|
||||||
|
@ -76,8 +76,8 @@ public class XWActivity extends Activity {
|
||||||
@Override
|
@Override
|
||||||
protected void onDestroy()
|
protected void onDestroy()
|
||||||
{
|
{
|
||||||
Utils.logf( "%s.onDestroy(this=%x); isFinishing=%s",
|
Utils.logf( "%s.onDestroy(this=%H); isFinishing=%b",
|
||||||
getClass().getName(), this, isFinishing()?"true":"false" );
|
getClass().getName(), this, isFinishing() );
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ public class XWListActivity extends ListActivity {
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate( Bundle savedInstanceState )
|
protected void onCreate( Bundle savedInstanceState )
|
||||||
{
|
{
|
||||||
Utils.logf( "%s.onCreate(this=%x)", getClass().getName(), this );
|
Utils.logf( "%s.onCreate(this=%H)", getClass().getName(), this );
|
||||||
super.onCreate( savedInstanceState );
|
super.onCreate( savedInstanceState );
|
||||||
m_delegate = new DlgDelegate( this );
|
m_delegate = new DlgDelegate( this );
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ public class XWListActivity extends ListActivity {
|
||||||
@Override
|
@Override
|
||||||
protected void onStart()
|
protected void onStart()
|
||||||
{
|
{
|
||||||
Utils.logf( "%s.onStart(this=%x)", getClass().getName(), this );
|
Utils.logf( "%s.onStart(this=%H)", getClass().getName(), this );
|
||||||
super.onStart();
|
super.onStart();
|
||||||
DispatchNotify.SetRunning( this );
|
DispatchNotify.SetRunning( this );
|
||||||
}
|
}
|
||||||
|
@ -49,21 +49,21 @@ public class XWListActivity extends ListActivity {
|
||||||
@Override
|
@Override
|
||||||
protected void onResume()
|
protected void onResume()
|
||||||
{
|
{
|
||||||
Utils.logf( "%s.onResume(this=%x)", getClass().getName(), this );
|
Utils.logf( "%s.onResume(this=%H)", getClass().getName(), this );
|
||||||
super.onResume();
|
super.onResume();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onPause()
|
protected void onPause()
|
||||||
{
|
{
|
||||||
Utils.logf( "%s.onPause(this=%x)", getClass().getName(), this );
|
Utils.logf( "%s.onPause(this=%H)", getClass().getName(), this );
|
||||||
super.onPause();
|
super.onPause();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onStop()
|
protected void onStop()
|
||||||
{
|
{
|
||||||
Utils.logf( "%s.onStop(this=%x)", getClass().getName(), this );
|
Utils.logf( "%s.onStop(this=%H)", getClass().getName(), this );
|
||||||
DispatchNotify.ClearRunning( this );
|
DispatchNotify.ClearRunning( this );
|
||||||
super.onStop();
|
super.onStop();
|
||||||
}
|
}
|
||||||
|
@ -71,8 +71,8 @@ public class XWListActivity extends ListActivity {
|
||||||
@Override
|
@Override
|
||||||
protected void onDestroy()
|
protected void onDestroy()
|
||||||
{
|
{
|
||||||
Utils.logf( "%s.onDestroy(this=%x); isFinishing=%s",
|
Utils.logf( "%s.onDestroy(this=%H); isFinishing=%b",
|
||||||
getClass().getName(), this, isFinishing()?"true":"false" );
|
getClass().getName(), this, isFinishing() );
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue