1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-23 08:30:44 +00:00
NewPipe/app
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
..
schemas/org.schabi.newpipe.database.AppDatabase Migrate NotificationIcon to Picasso 2021-09-07 13:30:26 +03:00
src Crop the notification thumbnail in 1:1 mode instead of stretching it (#8533) 2022-07-13 17:19:44 +02:00
build.gradle Merge pull request #8536 from TacoTheDank/bumpExoPlayer 2022-07-13 12:59:12 +02:00
proguard-rules.pro Clean up proguard file 2022-06-09 11:34:57 -04:00