@@ -56,14 +56,6 @@ public final class AndroidNotification extends com.google.api.client.json.Generi
5656 @ com .google .api .client .util .Key
5757 private java .lang .String bodyLocKey ;
5858
59- /**
60- * If set, display notifications delivered to the device will be handled by the app instead of the
61- * proxy.
62- * The value may be {@code null}.
63- */
64- @ com .google .api .client .util .Key
65- private java .lang .Boolean bypassProxyNotification ;
66-
6759 /**
6860 * The [notification's channel
6961 * id](https://developer.android.com/guide/topics/ui/notifiers/notifications#ManageChannels) (new
@@ -185,11 +177,14 @@ public final class AndroidNotification extends com.google.api.client.json.Generi
185177 * Set the relative priority for this notification. Priority is an indication of how much of the
186178 * user's attention should be consumed by this notification. Low-priority notifications may be
187179 * hidden from the user in certain situations, while the user might be interrupted for a higher-
188- * priority notification. The effect of setting the same priorities may differ slightly on
189- * different platforms. Note this priority differs from `AndroidMessagePriority`. This priority is
190- * processed by the client after the message has been delivered, whereas [AndroidMessagePriority](
191- * https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#androidmessagepriority
192- * ) is an FCM concept that controls when the message is delivered.
180+ * priority notification. This parameter affects notification priority only on devices running
181+ * Android 7.1 (API level 25) and lower. On Android 8.0 (API level 26) and higher, priority is
182+ * ignored in favor of channel
183+ * [importance](https://developer.android.com/develop/ui/views/notifications/channels#importance).
184+ * Note this priority differs from `AndroidMessagePriority`. This priority is processed by the
185+ * client after the message has been delivered, whereas [AndroidMessagePriority](https://firebase.
186+ * google.com/docs/reference/fcm/rest/v1/projects.messages#androidmessagepriority) is an FCM
187+ * concept that controls when the message is delivered.
193188 * The value may be {@code null}.
194189 */
195190 @ com .google .api .client .util .Key
@@ -345,25 +340,6 @@ public AndroidNotification setBodyLocKey(java.lang.String bodyLocKey) {
345340 return this ;
346341 }
347342
348- /**
349- * If set, display notifications delivered to the device will be handled by the app instead of the
350- * proxy.
351- * @return value or {@code null} for none
352- */
353- public java .lang .Boolean getBypassProxyNotification () {
354- return bypassProxyNotification ;
355- }
356-
357- /**
358- * If set, display notifications delivered to the device will be handled by the app instead of the
359- * proxy.
360- * @param bypassProxyNotification bypassProxyNotification or {@code null} for none
361- */
362- public AndroidNotification setBypassProxyNotification (java .lang .Boolean bypassProxyNotification ) {
363- this .bypassProxyNotification = bypassProxyNotification ;
364- return this ;
365- }
366-
367343 /**
368344 * The [notification's channel
369345 * id](https://developer.android.com/guide/topics/ui/notifiers/notifications#ManageChannels) (new
@@ -638,11 +614,14 @@ public AndroidNotification setNotificationCount(java.lang.Integer notificationCo
638614 * Set the relative priority for this notification. Priority is an indication of how much of the
639615 * user's attention should be consumed by this notification. Low-priority notifications may be
640616 * hidden from the user in certain situations, while the user might be interrupted for a higher-
641- * priority notification. The effect of setting the same priorities may differ slightly on
642- * different platforms. Note this priority differs from `AndroidMessagePriority`. This priority is
643- * processed by the client after the message has been delivered, whereas [AndroidMessagePriority](
644- * https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#androidmessagepriority
645- * ) is an FCM concept that controls when the message is delivered.
617+ * priority notification. This parameter affects notification priority only on devices running
618+ * Android 7.1 (API level 25) and lower. On Android 8.0 (API level 26) and higher, priority is
619+ * ignored in favor of channel
620+ * [importance](https://developer.android.com/develop/ui/views/notifications/channels#importance).
621+ * Note this priority differs from `AndroidMessagePriority`. This priority is processed by the
622+ * client after the message has been delivered, whereas [AndroidMessagePriority](https://firebase.
623+ * google.com/docs/reference/fcm/rest/v1/projects.messages#androidmessagepriority) is an FCM
624+ * concept that controls when the message is delivered.
646625 * @return value or {@code null} for none
647626 */
648627 public java .lang .String getNotificationPriority () {
@@ -653,11 +632,14 @@ public java.lang.String getNotificationPriority() {
653632 * Set the relative priority for this notification. Priority is an indication of how much of the
654633 * user's attention should be consumed by this notification. Low-priority notifications may be
655634 * hidden from the user in certain situations, while the user might be interrupted for a higher-
656- * priority notification. The effect of setting the same priorities may differ slightly on
657- * different platforms. Note this priority differs from `AndroidMessagePriority`. This priority is
658- * processed by the client after the message has been delivered, whereas [AndroidMessagePriority](
659- * https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#androidmessagepriority
660- * ) is an FCM concept that controls when the message is delivered.
635+ * priority notification. This parameter affects notification priority only on devices running
636+ * Android 7.1 (API level 25) and lower. On Android 8.0 (API level 26) and higher, priority is
637+ * ignored in favor of channel
638+ * [importance](https://developer.android.com/develop/ui/views/notifications/channels#importance).
639+ * Note this priority differs from `AndroidMessagePriority`. This priority is processed by the
640+ * client after the message has been delivered, whereas [AndroidMessagePriority](https://firebase.
641+ * google.com/docs/reference/fcm/rest/v1/projects.messages#androidmessagepriority) is an FCM
642+ * concept that controls when the message is delivered.
661643 * @param notificationPriority notificationPriority or {@code null} for none
662644 */
663645 public AndroidNotification setNotificationPriority (java .lang .String notificationPriority ) {
0 commit comments