Fixed
Status Update
Comments
bo...@gmail.com <bo...@gmail.com> #2
Hi. Thanks for reporting this. Fixed in alpha-04
ra...@google.com <ra...@google.com>
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit e782987543a9f8ccd485e970ddc74564b24378db
Author: Vighnesh Raut <vighnesh.raut13@gmail.com>
Date: Mon Jan 02 15:27:40 2023
fix: tab row crashes when only 1 tab is added
Bug: b/264018028
Test: Added unit test
Change-Id: I6381dbac304fc1d69d3708c6655f8b595668e93f
M tv/tv-material/src/androidTest/java/androidx/tv/material/TabRowTest.kt
M tv/tv-material/src/main/java/androidx/tv/material/TabRow.kt
https://android-review.googlesource.com/2373449
Branch: androidx-main
commit e782987543a9f8ccd485e970ddc74564b24378db
Author: Vighnesh Raut <vighnesh.raut13@gmail.com>
Date: Mon Jan 02 15:27:40 2023
fix: tab row crashes when only 1 tab is added
Bug:
Test: Added unit test
Change-Id: I6381dbac304fc1d69d3708c6655f8b595668e93f
M tv/tv-material/src/androidTest/java/androidx/tv/material/TabRowTest.kt
M tv/tv-material/src/main/java/androidx/tv/material/TabRow.kt
Description
Component used: Workmanager Version used: 2.4.0 Devices/Android versions reproduced on: Multiple devices, Nokia 8.1 Android 10, Huawei P30 lite (Android 9), Xaomi Redmi 9 (Android 10)
In our app we run 3 jobs through
WorkManager
and we are observing that sometimes a periodic job that runs the most often is sometimes not added in the system job scheduler after it ran. This can be verified by looking atadb shell dumpsys jobscheduler
. The devices in question have been left alone for a while over a couple of hours.WorkManager.initialize()
will also not restore these missing jobs.One reason for this could be that the system job scheduler implementation isn't checking the return code from
JobScheduler.schedule()
, especially since this issue doesn't happen every single time the job has run.Logs from the app indicate
WorkManager
scheduling job id 7, but this id is not showing up for thenl.rijksoverheid.en
package. Only id 3 & 4, that have been scheduled at the same time as the initial periodic job, are shown in the output:Here's the WorkManager log output after the job has been run: