Review Request 126667: Try to decode payload into largeIcon for notifications on Android

Albert Vaca Cintora albertvaka at gmail.com
Mon Jan 11 14:09:36 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126667/#review90898
-----------------------------------------------------------

Ship it!


You might want to add a try catch block to cover the case getPayload contains something that decodeBitmap fails to understand.

- Albert Vaca Cintora


On Jan. 7, 2016, 11:01 a.m., Holger Kaelberer wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126667/
> -----------------------------------------------------------
> 
> (Updated Jan. 7, 2016, 11:01 a.m.)
> 
> 
> Review request for kdeconnect.
> 
> 
> Repository: kdeconnect-android
> 
> 
> Description
> -------
> 
> Newer API levels scale large icons in notifications automatically, olders don't. Therefore we downscale manually if necessary to avoid too big icons.
> 
> 
> Diffs
> -----
> 
>   src/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationsPlugin.java e8391f4 
> 
> Diff: https://git.reviewboard.kde.org/r/126667/diff/
> 
> 
> Testing
> -------
> 
> yep, works fine with desktop-notifications on all tested devices (S2/4.2.2, Galaxy Tab4/5.x, Galaxy Note3/5.0)
> 
> 
> Thanks,
> 
> Holger Kaelberer
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20160111/e33dd24a/attachment.html>


More information about the KDEConnect mailing list