File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/metadata Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -138,11 +138,14 @@ public void setUserId(String identifier) {
138138 crashlyticsWorkers .diskWrite .submit (this ::serializeUserDataIfNeeded );
139139 }
140140
141- /** Creates a {Map<String, String>} with all the custom keys to attach to the event.
142- *
143- * @param eventKeys a {Map<String, String>} representing event specific keys.
141+ /**
142+ * Returns a {@link Map<String, String>} containing all the custom keys to attach to the event.
143+ * It overrides the values of app level custom keys with the values of event level custom keys if
144+ * they're identical, and event keys or values that exceed 1024 characters are truncated.
145+ * Combined with app level custom keys, the map is restricted to 64 key value pairs.
144146 *
145- * @return the {Map<String, String>} respecting the custom key constraints.
147+ * @param eventKeys a {@link Map<String, String>} representing event specific keys.
148+ * @return a {@link Map<String, String>} containing all the custom keys to attach to the event.
146149 */
147150 public Map <String , String > getCustomKeys (Map <String , String > eventKeys ) {
148151 // In case of empty event keys, preserve existing behavior.
You can’t perform that action at this time.
0 commit comments