Status Update
Comments
ra...@google.com <ra...@google.com> #2
Hi. Thanks for reporting this. Fixed in alpha-04
ar...@gmail.com <ar...@gmail.com> #3
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
ra...@google.com <ra...@google.com> #4
ra...@google.com <ra...@google.com> #5
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.tv:tv-material:1.0.0-alpha04
ra...@google.com <ra...@google.com> #6
If you have more information, I can reopen the bug.
ar...@gmail.com <ar...@gmail.com> #7
Yep, the verbose logging was enabled to produce logs in the initial comment.
ra...@google.com <ra...@google.com> #8
Okay, I think I know what might be going on. Thanks for the logs, that really helped.
ap...@google.com <ap...@google.com> #9
Branch: androidx-master-dev
commit 889cad12d1cadf8ee1ec3e031b204cb94e498233
Author: Rahul Ravikumar <rahulrav@google.com>
Date: Tue May 12 11:35:53 2020
Processor needs to check for both foreground and background work.
* Processor needs to check for enqueued foreground and background work,
so there is only ever 1 `WorkerWrapper` per work request.
Fixes:
Test: Existing unit tests pass.
Change-Id: Ib4223565beeb983001bc51d8d45ee417ebf53d62
M work/workmanager/src/main/java/androidx/work/impl/Processor.java
ar...@gmail.com <ar...@gmail.com> #10
Thanks for the quick fix! Is it possible to check a snapshot of some sort with the included change?
ra...@google.com <ra...@google.com> #11
Yeah we publish our snapshots via
Add this snippet to your build.gradle
file.
allprojects {
repositories {
google()
jcenter()
maven { url 'https://androidx.dev/snapshots/builds/6490637/artifacts/repository' }
}
}
Add this to your dependencies
block:
dependencies {
def work_version = '2.4.0-SNAPSHOT'
implementation "androidx.work:work-runtime:$work_version"
}
ar...@gmail.com <ar...@gmail.com> #12
Just checked the snapshot — works as expected. Thanks again!
ra...@google.com <ra...@google.com> #13
Thanks for confirming !
Description
Put the following code in the
Application
subclass and call thescheduleForegroundWork
method in theonCreate
one.Single
keeps working, the notification remains in place.Single
is disposed, the notification is hidden.Debug logs (2.4.0-alpha03):