Skip to content

Commit bbfc5e8

Browse files
committed
more javadoc updates
1 parent 4471d23 commit bbfc5e8

File tree

1 file changed

+7
-4
lines changed
  • firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/metadata

1 file changed

+7
-4
lines changed

firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/metadata/UserMetadata.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)