mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
FOR DEBUGGING ONLY: always launch GamesList in response to
notification or invite scheme -- just to see how it behaves.
This commit is contained in:
parent
9b8126f060
commit
aa304772c6
1 changed files with 5 additions and 5 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue