1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-11-05 17:46:24 +00:00
NewPipe/app/src
Alex 6f7298b9db
Crop the notification thumbnail in 1:1 mode instead of stretching it (#8533)
Change square bitmap transformation strategy: change the bitmap transformation strategy when a 1:1 aspect ratio is
enabled to not stretch the bitmap but rather crop it.

On Android 11/12, the way the whole thumbnail was used for the
notification icon was not ideal, however the setting to toggle a 1:1
(as it states in settings) resulted in distortions.

Fix this by simply cropping the bitmap.

Also update the 1:1 mode strings to remove mentions of scaling or
distortions, as those no longer apply.
2022-07-13 17:19:44 +02:00
..
androidTest/java/org/schabi/newpipe Add support of other delivery methods than progressive HTTP (in the player only) 2022-06-17 22:00:22 +02:00
debug Improved documentation 2022-01-24 21:08:48 +01:00
main Crop the notification thumbnail in 1:1 mode instead of stretching it (#8533) 2022-07-13 17:19:44 +02:00
test Add support of other delivery methods than progressive HTTP (in the player only) 2022-06-17 22:00:22 +02:00