cleanup: remove some logging

This commit is contained in:
Eric House 2017-02-04 08:53:07 -08:00
parent 6270a81bfa
commit 6b565e2fa7
2 changed files with 1 additions and 6 deletions

View file

@ -414,8 +414,6 @@ public class MainActivity extends XWActivity
private XWFragment findFragment( View view )
{
XWFragment frag = XWFragment.findOwnsView( view );
DbgUtils.logd( TAG, "findFragmentById(view=%s) => " + frag,
view.toString() );
return frag;
}

View file

@ -52,16 +52,13 @@ abstract class XWFragment extends Fragment implements Delegator {
XWFragment result = null;
DbgUtils.assertOnUIThread();
for ( XWFragment frag : sActiveFrags ) {
DbgUtils.logd( TAG, "findOwnsView(): looking at fragment %s",
frag.getClass().getSimpleName() );
if ( frag.getView() == view ) {
Assert.assertNull( result );
result = frag;
// break;
// break; <-- put this back eventually
}
}
DbgUtils.logd( TAG, "findOwnsView() => " + result );
return result;
}