FOR DEBUGGING ONLY: always launch GamesList in response to

notification or invite scheme -- just to see how it behaves.
This commit is contained in:
Andy2 2011-07-18 06:42:59 -07:00
parent 9b8126f060
commit aa304772c6

View file

@ -54,17 +54,17 @@ public class DispatchNotify extends Activity {
Uri data = getIntent().getData();
if ( null != relayIDs ) {
if ( !tryHandle( relayIDs ) ) {
// if ( !tryHandle( relayIDs ) ) {
mustLaunch = true;
}
// }
} else if ( null != data ) {
if ( !tryHandle( data ) ) {
// if ( !tryHandle( data ) ) {
mustLaunch = true;
}
// }
}
if ( mustLaunch ) {
Utils.logf( "DispatchNotify: nothing running" );
Utils.logf( "DispatchNotify: launching GamesList activity" );
Intent intent = new Intent( this, GamesList.class );
intent.setFlags( Intent.FLAG_ACTIVITY_CLEAR_TOP
| Intent.FLAG_ACTIVITY_NEW_TASK );