mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
use the new ANON devid type
This commit is contained in:
parent
2cfa56c2d8
commit
d5842e79c2
2 changed files with 3 additions and 2 deletions
|
@ -532,8 +532,8 @@ public class RelayService extends XWService {
|
||||||
if ( null != devid && 0 < devid.length() ) {
|
if ( null != devid && 0 < devid.length() ) {
|
||||||
typ = UtilCtxt.ID_TYPE_ANDROID_GCM;
|
typ = UtilCtxt.ID_TYPE_ANDROID_GCM;
|
||||||
} else {
|
} else {
|
||||||
devid = "DO NOT SHIP WITH ME";
|
devid = "";
|
||||||
typ = UtilCtxt.ID_TYPE_ANDROID_OTHER;
|
typ = UtilCtxt.ID_TYPE_ANON;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( null != typp ) {
|
if ( null != typp ) {
|
||||||
|
|
|
@ -61,6 +61,7 @@ public interface UtilCtxt {
|
||||||
public static final int ID_TYPE_RELAY = 1;
|
public static final int ID_TYPE_RELAY = 1;
|
||||||
public static final int ID_TYPE_ANDROID_GCM = 3;
|
public static final int ID_TYPE_ANDROID_GCM = 3;
|
||||||
public static final int ID_TYPE_ANDROID_OTHER = 4;
|
public static final int ID_TYPE_ANDROID_OTHER = 4;
|
||||||
|
public static final int ID_TYPE_ANON = 5;
|
||||||
|
|
||||||
String getDevID( /*out*/ byte[] typ );
|
String getDevID( /*out*/ byte[] typ );
|
||||||
void deviceRegistered( int devIDType, String idRelay );
|
void deviceRegistered( int devIDType, String idRelay );
|
||||||
|
|
Loading…
Add table
Reference in a new issue