mirror of
https://github.com/fergalmoran/chrometophone.git
synced 2025-12-22 09:41:51 +00:00
Add a new flag for gcm devices since the Chrome extension uses ac2dm
This commit is contained in:
@@ -134,7 +134,8 @@ public class DeviceRegistrar {
|
||||
// TODO: Allow device name to be configured
|
||||
params.add(new BasicNameValuePair("deviceName", isTablet(context) ? "Tablet" : "Phone"));
|
||||
|
||||
params.add(new BasicNameValuePair("deviceType", "gcm"));
|
||||
params.add(new BasicNameValuePair("deviceType", "ac2dm"));
|
||||
params.add(new BasicNameValuePair("gcm", "true"));
|
||||
|
||||
AppEngineClient client = new AppEngineClient(context, accountName);
|
||||
return client.makeRequest(urlPath, params);
|
||||
|
||||
Reference in New Issue
Block a user