mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
change to work with changed NBSProxy API
This commit is contained in:
parent
29ebcf0c20
commit
e01bda552e
1 changed files with 2 additions and 4 deletions
|
@ -126,7 +126,6 @@ public class XWApp extends Application
|
|||
}
|
||||
|
||||
// NBSProxy.Callbacks
|
||||
|
||||
@Override
|
||||
public void onProxyAppLaunched()
|
||||
{
|
||||
|
@ -147,11 +146,10 @@ public class XWApp extends Application
|
|||
SMSService.handleFrom( this, data, fromPhone );
|
||||
}
|
||||
|
||||
// NBSProxy.Callbacks
|
||||
@Override
|
||||
public void onRegResponse( boolean appReached )
|
||||
public void onRegResponse( boolean appReached, boolean needsInitialLaunch )
|
||||
{
|
||||
if ( !appReached ) {
|
||||
if ( needsInitialLaunch ) {
|
||||
String channelID = Channels.getChannelID( this, Channels.ID.FOREGROUND );
|
||||
NBSProxy.postLaunchNotification( this, channelID, R.drawable.notify );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue