mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-22 07:28:16 +01:00
cleanup: remove some logging
This commit is contained in:
parent
6270a81bfa
commit
6b565e2fa7
2 changed files with 1 additions and 6 deletions
|
@ -414,8 +414,6 @@ public class MainActivity extends XWActivity
|
||||||
private XWFragment findFragment( View view )
|
private XWFragment findFragment( View view )
|
||||||
{
|
{
|
||||||
XWFragment frag = XWFragment.findOwnsView( view );
|
XWFragment frag = XWFragment.findOwnsView( view );
|
||||||
DbgUtils.logd( TAG, "findFragmentById(view=%s) => " + frag,
|
|
||||||
view.toString() );
|
|
||||||
return frag;
|
return frag;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -52,16 +52,13 @@ abstract class XWFragment extends Fragment implements Delegator {
|
||||||
XWFragment result = null;
|
XWFragment result = null;
|
||||||
DbgUtils.assertOnUIThread();
|
DbgUtils.assertOnUIThread();
|
||||||
for ( XWFragment frag : sActiveFrags ) {
|
for ( XWFragment frag : sActiveFrags ) {
|
||||||
DbgUtils.logd( TAG, "findOwnsView(): looking at fragment %s",
|
|
||||||
frag.getClass().getSimpleName() );
|
|
||||||
if ( frag.getView() == view ) {
|
if ( frag.getView() == view ) {
|
||||||
Assert.assertNull( result );
|
Assert.assertNull( result );
|
||||||
result = frag;
|
result = frag;
|
||||||
// break;
|
// break; <-- put this back eventually
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DbgUtils.logd( TAG, "findOwnsView() => " + result );
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue