Skip to content

Commit

Permalink
Add add_account
Browse files Browse the repository at this point in the history
Fix that DummyDroid can be used if no device has been associated yet with the google account
  • Loading branch information
mfonville committed Jun 9, 2016
1 parent 38e3313 commit ba19d72
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -181,12 +181,12 @@ public String loginAC2DM() throws IOException {
{ "Email", this.getEmail() },
{ "Passwd", this.password },
{ "service", "ac2dm" },
{ "add_account", "1"},
{ "accountType", ACCOUNT_TYPE_HOSTED_OR_GOOGLE },
{ "has_permission", "1" },
{ "source", "android" },
{ "app", "com.google.android.gsf" },
{ "device_country", "us" },
{ "device_country", "us" },
{ "lang", "en" },
{ "sdk_version", "17" }, }, null);

Expand Down Expand Up @@ -232,7 +232,7 @@ public void login() throws Exception {
{ "source", "android" },
{ "androidId", this.getAndroidID() },
{ "app", "com.android.vending" },
{ "device_country", "en" },
{ "device_country", "us" },
{ "lang", "en" },
{ "sdk_version", "17" }, }, null);

Expand Down

0 comments on commit ba19d72

Please sign in to comment.