Status Update
Comments
ra...@google.com <ra...@google.com>
ra...@google.com <ra...@google.com> #2
Can someone please provide an example of Notification.BigPictureStyle().bigPicture(...)
working with an animated image? From the description of this issue and the API 31 requirement, I am assuming an Icon must be passed to .bigPicture()
. However, what configurations does the Icon need in order to animate?
I have scoured the internet, but am unable to find a single example of this even though Google boldly announced it in
Edit: Also requested
ap...@google.com <ap...@google.com> #3
Branch: androidx-main
commit a2b7f7b7268c8f24b6e3a66bf58017f39c329b68
Author: Alexander Roederer <aroederer@google.com>
Date: Thu Jun 16 17:45:43 2022
Adds support for BigPictureStyle using Icon
Modifies Notification.java to use Icon as the base representation
for BigPicture in BigPictureStyle. Also adds tests to ensure both
Icon and Bitmap representation are functional.
Bug: 215583339
Test: NotificationCompatTest integration tests added
Relnote: Adds support for BigPictureStyle using Icon
Change-Id: Ice26d1400836cdf74af931f0f8ca59c25dd9c3c3
M core/core/api/restricted_current.txt
M core/core/src/main/java/androidx/core/app/NotificationCompat.java
M core/core/api/public_plus_experimental_current.txt
M core/core/src/androidTest/java/androidx/core/app/NotificationCompatTest.java
M core/core/api/current.txt
ra...@google.com <ra...@google.com>
ap...@google.com <ap...@google.com> #4
Flag flipped in
Description
Version used: 1.0.0-alpha05
Devices/Android versions reproduced on: Nexus 5X API 26 emulator
1. Check out
2. Install the example-unsplash app (it has no launcher activity)
3. Install and run main app
4. Hit Activate, Set Wallpaper, Home and Lock Screen, then tap the Muzei icon to go to the main screen
5. Tap the Sources button on the bottom nav
6. Tap the 'Unsplash (Example)' title
Expected Result:
Wallpaper from the Unsplash (Example) source loads
Actual Results:
30 seconds after tapping the button, the following log message appears:
W/SQLiteConnectionPool: The connection pool for database '/data/user/0/net.nurik.roman.muzei/databases/androidx.work.workdb' has been unable to grant a connection to thread 5076 (pool-5-thread-1) with flags 0x2 for 30.002 seconds.
Connections: 0 active, 1 idle, 1 available.
WorkManager now appears permanently deadlocked and no work will fire ever again. Force stopping and restarting the app unwedges the app temporarily (you'll be able to see artwork from the Unsplash source and hit the >> next artwork button), but if you switch back to the Featured Art source, it deadlocks again.
The Work that fires when you select a source is the ProviderChangedWorker:
It enqueues a periodic work request from within the one time work request.
Confirmed that reverting back to alpha04 fixes the issue.