Skip to content

Commit

Permalink
Push: Don't try adding app extra to network request
Browse files Browse the repository at this point in the history
It's a PendingIntent, so that doesn't work and spills a warning.

Fixes #2029
  • Loading branch information
mar-v-in committed Sep 13, 2023
1 parent 292666b commit 23d1b18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public RegisterRequest delete(boolean delete) {

public RegisterRequest extraParams(Bundle extraBundle) {
for (String key : extraBundle.keySet()) {
if (!key.equals(GcmConstants.EXTRA_SENDER) && !key.equals(GcmConstants.EXTRA_DELETE)) {
if (!key.equals(GcmConstants.EXTRA_SENDER) && !key.equals(GcmConstants.EXTRA_DELETE) && !key.equals(GcmConstants.EXTRA_APP)) {
extraParam(key, extraBundle.getString(key));
}
}
Expand Down

0 comments on commit 23d1b18

Please sign in to comment.