<div dir='auto'><div>I'm not sure about where the warning should be showed but the method is marked as deprecated in a same way as the old constructor is.<br><div class="gmail_extra"><br><div class="gmail_quote">Dne 25. 4. 2018 12:56 napsal uživatel Dave Mielke <dave@mielke.cc>:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">[quoted lines by Robert Pösel on 2018/04/25 at 09:57 +0200]
<br>

<br>
>call to: notificationBuilder.setPriority(Notification.PRIORITY_LOW)
<br>
>is deprecated too, so it should be used only in the else branch with
<br>
>old constructor, because with new API is priority determined by the
<br>
>notification channel's importance value.
<br>

<br>
Does it actually cause a warning? I left it that way because, from a coding 
<br>
point of view, it's just the safer way to do it. It's easy enough to change, of 
<br>
course, but, to me, calling it just in case still seems reasonable.
<br>

<br>
-- 
<br>
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
<br>
Dave Mielke           | 2213 Fox Crescent | WebHome: http://Mielke.cc/
<br>
EMail: Dave@Mielke.cc | Ottawa, Ontario   | Twitter: @Dave_Mielke
<br>
Phone: 1-613-726-0014 | Canada  K2A 1H7   |
<br>
</p>
</blockquote></div><br></div></div></div>