use the new ANON devid type

This commit is contained in:
Eric House 2013-01-29 18:36:19 -08:00
parent 2cfa56c2d8
commit d5842e79c2
2 changed files with 3 additions and 2 deletions

View file

@ -532,8 +532,8 @@ public class RelayService extends XWService {
if ( null != devid && 0 < devid.length() ) {
typ = UtilCtxt.ID_TYPE_ANDROID_GCM;
} else {
devid = "DO NOT SHIP WITH ME";
typ = UtilCtxt.ID_TYPE_ANDROID_OTHER;
devid = "";
typ = UtilCtxt.ID_TYPE_ANON;
}
}
if ( null != typp ) {

View file

@ -61,6 +61,7 @@ public interface UtilCtxt {
public static final int ID_TYPE_RELAY = 1;
public static final int ID_TYPE_ANDROID_GCM = 3;
public static final int ID_TYPE_ANDROID_OTHER = 4;
public static final int ID_TYPE_ANON = 5;
String getDevID( /*out*/ byte[] typ );
void deviceRegistered( int devIDType, String idRelay );