mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-24 07:58:34 +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
|
// NBSProxy.Callbacks
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onProxyAppLaunched()
|
public void onProxyAppLaunched()
|
||||||
{
|
{
|
||||||
|
@ -147,11 +146,10 @@ public class XWApp extends Application
|
||||||
SMSService.handleFrom( this, data, fromPhone );
|
SMSService.handleFrom( this, data, fromPhone );
|
||||||
}
|
}
|
||||||
|
|
||||||
// NBSProxy.Callbacks
|
|
||||||
@Override
|
@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 );
|
String channelID = Channels.getChannelID( this, Channels.ID.FOREGROUND );
|
||||||
NBSProxy.postLaunchNotification( this, channelID, R.drawable.notify );
|
NBSProxy.postLaunchNotification( this, channelID, R.drawable.notify );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue