Skip to content

Commit

Permalink
Google Java Format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed May 6, 2024
1 parent 43f1220 commit b5823d7
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2082,7 +2082,11 @@ private HashMap<String, Object> getMappedNotificationChannel(NotificationChannel
channelPayload.put("enableLights", channel.shouldShowLights());
channelPayload.put("ledColor", channel.getLightColor());
final AudioAttributes audioAttributes = channel.getAudioAttributes();
channelPayload.put("audioAttributesUsage", audioAttributes == null ? AudioAttributes.USAGE_NOTIFICATION : audioAttributes.getUsage());
channelPayload.put(
"audioAttributesUsage",
audioAttributes == null
? AudioAttributes.USAGE_NOTIFICATION
: audioAttributes.getUsage());
}
return channelPayload;
}
Expand Down

0 comments on commit b5823d7

Please sign in to comment.