Status Update
Comments
il...@google.com <il...@google.com>
tr...@gmail.com <tr...@gmail.com> #2
Information redacted by Android Beta Feedback.
a....@gmail.com <a....@gmail.com> #3
Thank you for reporting this issue. We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
sj...@gmail.com <sj...@gmail.com> #4
The issue has been fixed and it will become available in a future Android release. Please keep an eye on the release notes(
sj...@gmail.com <sj...@gmail.com> #5
How long till this hit stable?
The issue is really annoying. Pixel 8 Pro + Pixel Buds A-Series + Pixel Watch. This should work without any issue and instead we have to manually disable Bluetooth on the watch whenever we use the buds. Don't you have quality controls on your products interactions?
sa...@google.com <sa...@google.com>
ap...@google.com <ap...@google.com> #6
-Pixel 8, Pixel Buds A, Pixel Watch-
[Deleted User] <[Deleted User]> #7
[Deleted User] <[Deleted User]> #8
[Deleted User] <[Deleted User]> #9
ap...@google.com <ap...@google.com> #10
ap...@google.com <ap...@google.com> #11
ap...@google.com <ap...@google.com> #12
st...@gmail.com <st...@gmail.com> #13
il...@google.com <il...@google.com> #14
This should have been fixed for QPR2 and Pixel Buds A
ap...@google.com <ap...@google.com> #15
sa...@google.com <sa...@google.com>
[Deleted User] <[Deleted User]> #16
Just a feedback for Google.
The bug was reported on the 26th of December 2023.
It was fixed on the 5th of January 2024 (
What is inaccettabile is that the fix, hasn't been released to devices after 6 months. It is still in the Android 15 beta.
This is a but affecting 2 of your flagship products. You need to have some way to expedite the release of this kind of thing.
It should have been released in Android 14 as an hotfix in January.
Please fix your process.
ka...@gmail.com <ka...@gmail.com> #17
na...@google.com <na...@google.com> #18
sj...@gmail.com <sj...@gmail.com> #19
ey...@gmail.com <ey...@gmail.com> #20
Even though the issue sounds similar, the internal root cause would be different, so please raise a separate ticket along with the bugreport from your device.
Thanks.
jb...@google.com <jb...@google.com> #21
Yes, those are the Lifecycle.State
s that reflect those particular Lifecycle.Event
s. Please take a look at the
ey...@gmail.com <ey...@gmail.com> #22
jb...@google.com <jb...@google.com> #23
Receiving a state from the flow would be the signal that a change has occurred and the new state is that particular change. There are cases where you don't care how you get to a state, just that you are there. We also offer Lifecycle.Event
s.
il...@google.com <il...@google.com> #24
If you look at the Lifecycle.asFlow()
to get a Flow of Lifecycle.Event
) and one for Lifecycle State (where you can use Lifecycle.currentStateFlow
to get the current Lifecycle.State
).
Make sure you are using the right API.
ey...@gmail.com <ey...@gmail.com> #25
il...@google.com <il...@google.com> #26
Lifecycle.asFlow()
works outside of Compose too and gives you Lifecycle.Event
instances as they occur. That's why that API exists separately from currentStateFlow
.
Description
Component used: Lifecycle
Version used: 2.5.0-rc01
Reacting to a Lifecycle.State changes is currently fairly complicated in a Jetpack Compose based app, requiring a with registering a
DisposableEffect
based approachLifecycleObserver
with theLocalLifecycleOwner
.Ideally, this would come in two forms:
Lifecycle.State
asState
, perhaps something likeLocalLifecycleOwner.current.lifecycle.currentStateFlow.collectAsState()
LifecycleEventEffect
that would only run the effect when theLifecycle.State
changes.