Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Android][FirebaseAnalytics] Adds Nullable Params Handling to Firebas…
…e logEvent Method Summary: The params parameter is nullable but it was passed to the MapArguments constructor which expects a non-null map. This caused a NPE when the Map’s keySet method is invoked. The fix is to simply pass null to Firebase logEvent method as that is handled as no properties are being passed with the event. Test Plan: - Added an additional test case for logEvent to the test suite and observed it failing without the fix and passing after the change.
- Loading branch information
1 parent
be72205
commit 1a050b5
Showing
3 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters