Fixed
Status Update
Comments
vi...@google.com <vi...@google.com> #2
ma...@gmail.com <ma...@gmail.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit e465976de8f05f0d1db49b4e2887c9f3cd4beab5
Author: Jeremy Woods <jbwoods@google.com>
Date: Wed Mar 17 17:07:42 2021
Add OnBackPressedDispatcher observer before NavController observer
If you add a OnBackPressed callback with the NavBackStackEntry as the
lifecycle owner, if the Activity Lifecycle is STOPPED and STARTED again, the navController callback and NavBackStackEntry callback are readded to the Activity Lifecycle in the wrong order. This means that the new callback will not properly intercept onBackPressed() calls from the system, they will instead be intercepted by NavController.
If an OnBackPressedDispatcher is set, we should remove and readd the
NavController observer after we add the callback to the dispatcher.
RelNote: "OnBackPressedCallbacks added to a dispatcher with the
NavBackStackEntry as the LifecycleOwner now properly intercept back
after the Activity Lifecycle is STOPPED, then STARTED"
Test: NavControllerTest
Bug: 182284739
Change-Id: I6acf78848546160eaea7ed700ef8875664a125d0
M navigation/navigation-runtime/src/androidTest/java/androidx/navigation/NavControllerTest.kt
M navigation/navigation-runtime/src/main/java/androidx/navigation/NavController.kt
https://android-review.googlesource.com/1643646
Branch: androidx-main
commit e465976de8f05f0d1db49b4e2887c9f3cd4beab5
Author: Jeremy Woods <jbwoods@google.com>
Date: Wed Mar 17 17:07:42 2021
Add OnBackPressedDispatcher observer before NavController observer
If you add a OnBackPressed callback with the NavBackStackEntry as the
lifecycle owner, if the Activity Lifecycle is STOPPED and STARTED again, the navController callback and NavBackStackEntry callback are readded to the Activity Lifecycle in the wrong order. This means that the new callback will not properly intercept onBackPressed() calls from the system, they will instead be intercepted by NavController.
If an OnBackPressedDispatcher is set, we should remove and readd the
NavController observer after we add the callback to the dispatcher.
RelNote: "OnBackPressedCallbacks added to a dispatcher with the
NavBackStackEntry as the LifecycleOwner now properly intercept back
after the Activity Lifecycle is STOPPED, then STARTED"
Test: NavControllerTest
Bug: 182284739
Change-Id: I6acf78848546160eaea7ed700ef8875664a125d0
M navigation/navigation-runtime/src/androidTest/java/androidx/navigation/NavControllerTest.kt
M navigation/navigation-runtime/src/main/java/androidx/navigation/NavController.kt
ma...@gmail.com <ma...@gmail.com> #4
This has been fixed internally and will be part of the Navigation 2.3.5
release (via 2.4.0-alpha01
).
vi...@google.com <vi...@google.com> #5
Project: platform/frameworks/support
Branch: androidx-main
commit f231e0f384f9fd2e7a078bfcbeb7768c82c617b1
Author: Jeremy Woods <jbwoods@google.com>
Date: Wed Mar 17 17:40:05 2021
Add BackHandler callback with a LifecycleOwner
We need to ensure that the callback from BackHandler remains in the
proper position in the event of Lifecycle changes.
RelNote: "The BackHandler will now properly intercept back presses in
the event that the Activity is STOPPED, then STARTED again, and other
callbacks were added with a LifecycleOwner."
Test: BackHandlerTest
Bug: 182284739
Change-Id: I71de6184ba73f56b34de9dcddaf138d98c46417f
M activity/activity-compose/build.gradle
M activity/activity-compose/src/androidTest/java/androidx/activity/compose/BackHandlerTest.kt
M activity/activity-compose/src/main/java/androidx/activity/compose/BackHandler.kt
https://android-review.googlesource.com/1644062
Branch: androidx-main
commit f231e0f384f9fd2e7a078bfcbeb7768c82c617b1
Author: Jeremy Woods <jbwoods@google.com>
Date: Wed Mar 17 17:40:05 2021
Add BackHandler callback with a LifecycleOwner
We need to ensure that the callback from BackHandler remains in the
proper position in the event of Lifecycle changes.
RelNote: "The BackHandler will now properly intercept back presses in
the event that the Activity is STOPPED, then STARTED again, and other
callbacks were added with a LifecycleOwner."
Test: BackHandlerTest
Bug: 182284739
Change-Id: I71de6184ba73f56b34de9dcddaf138d98c46417f
M activity/activity-compose/build.gradle
M activity/activity-compose/src/androidTest/java/androidx/activity/compose/BackHandlerTest.kt
M activity/activity-compose/src/main/java/androidx/activity/compose/BackHandler.kt
ma...@gmail.com <ma...@gmail.com> #6
This has been addressed internally and will be available when using both the Activity 1.3.0-alpha06
and Navigation 2.3.5
releases.
pe...@gmail.com <pe...@gmail.com> #7
Project: platform/frameworks/support
Branch: androidx-main
commit d1d6f89ba90be8e7fba193570b427f52ec98f57a
Author: Jeremy Woods <jbwoods@google.com>
Date: Wed Mar 31 09:40:42 2021
Make nav compose depend on Navigation 2.3.5
Upgrading to the latest Navigation version to take advantage of fixed
bugs, (particularly around OnBackPressedDispatcher and lifecycles
b/182284739 ).
RelNote: "Navigation-compose now depends on Navigation version `2.3.5`"
Test: ./gradlew bOS
Change-Id: I7e63b32c93deaee60b1d5e132d3fa255c3ba85e2
M navigation/navigation-compose/build.gradle
https://android-review.googlesource.com/1660640
Branch: androidx-main
commit d1d6f89ba90be8e7fba193570b427f52ec98f57a
Author: Jeremy Woods <jbwoods@google.com>
Date: Wed Mar 31 09:40:42 2021
Make nav compose depend on Navigation 2.3.5
Upgrading to the latest Navigation version to take advantage of fixed
bugs, (particularly around OnBackPressedDispatcher and lifecycles
RelNote: "Navigation-compose now depends on Navigation version `2.3.5`"
Test: ./gradlew bOS
Change-Id: I7e63b32c93deaee60b1d5e132d3fa255c3ba85e2
M navigation/navigation-compose/build.gradle
ar...@gmail.com <ar...@gmail.com> #8
does not work for me on '2.4.2'
val navController: NavHostController = rememberNavController()
HomeNavHost(navController = navController)
BackHandler(true) {
// code doesnt get called here
}
val navController: NavHostController = rememberNavController()
HomeNavHost(navController = navController)
BackHandler(true) {
// code doesnt get called here
}
to...@gmail.com <to...@gmail.com> #9
I got similar issue, after I run launcher (exp: select document), BackHandler no longer triggers
BackHandler{
action.onBack()
}
BackHandler{
action.onBack()
}
vi...@google.com <vi...@google.com> #10
to solve BackHandler no longer triggers after i run launcher, i am using this
@Composable
fun BaseBackHandler(onBackHandler: () -> Unit = {}) {
var refreshBackHandler by rememberSaveable { mutableStateOf(false) }
OnLifecycleEvent { _, event ->
when (event) {
Lifecycle.Event.ON_PAUSE -> {
refreshBackHandler = false
}
Lifecycle.Event.ON_RESUME -> {
refreshBackHandler = true
}
else -> {}
}
}
if (refreshBackHandler) {
BackHandler {
onBackHandler()
}
}
}
@Composable
fun BaseBackHandler(onBackHandler: () -> Unit = {}) {
var refreshBackHandler by rememberSaveable { mutableStateOf(false) }
OnLifecycleEvent { _, event ->
when (event) {
Lifecycle.Event.ON_PAUSE -> {
refreshBackHandler = false
}
Lifecycle.Event.ON_RESUME -> {
refreshBackHandler = true
}
else -> {}
}
}
if (refreshBackHandler) {
BackHandler {
onBackHandler()
}
}
}
kr...@gmail.com <kr...@gmail.com> #11
Is there a way to re-open this issue? Still experiencing this on latest version of the navigation library.
ma...@gmail.com <ma...@gmail.com> #12
Re
to...@gmail.com <to...@gmail.com> #13
I opened a new bug as requested by
da...@gmail.com <da...@gmail.com> #14
@ma...@gmail.com. Same reason I left the android beta on my google pixel. Just so many productivity-breaking bugs, which take ages to be fixed. I remember when Google was a synonym for good software, but somehow that's not the case anymore.
ki...@gmail.com <ki...@gmail.com> #15
Same here (on pixel watch 1).
ma...@gmail.com <ma...@gmail.com> #16
The November system update has arrived today which apparently includes bug fixes. But it doesn't fix this one :-(
ph...@gmail.com <ph...@gmail.com> #17
To confirm what was said above, the November update (build number "AW2A.241105.012") does not resolve this particular bug.
le...@gmail.com <le...@gmail.com> #18
Same problem here. Pixel Watch 1 updated automatically to Wear OS 5 while charging and now the vibrations are barely noticeable. Since I'm using the app Sleep as Android the vibrations aren't strong enough anymore to wake me up. Super annoying...
bi...@gmail.com <bi...@gmail.com> #19
I also experience this issue. As vibrations for notifications is such an essential feature this is a showstopper for me. Hoping this will be solved soon.
mi...@gmail.com <mi...@gmail.com> #20
I have this issue too. Using the alarm app Sleep as Android no longer works, since the vibrations don't wake me up.
sh...@gmail.com <sh...@gmail.com> #21
Also having this issue. Using Tasker/Autowear toast notifications and the vibration for a PW 1 is nearly undetectable.
wi...@gmail.com <wi...@gmail.com> #22
This needs to be fixed with high priority. Vibrating notifications are one of the main draws of wearables, especially for alarms. I actually reverted to using my old Xiaomi watch at night to wake up to vibrations I can feel.
PW 1, WearOS 5.0 vibrations from Sleep as Android 's wearable alarm are so weak they can't be felt through normal skin contact. You'd have to feel the watch with your fingertips to even realize something's happening.
PW 1, WearOS 5.0 vibrations from Sleep as Android 's wearable alarm are so weak they can't be felt through normal skin contact. You'd have to feel the watch with your fingertips to even realize something's happening.
br...@gmail.com <br...@gmail.com> #23
I'm having the same problem on Pixel 1 with the November update (Android 14, which I presume is still WearOS 4 rather than 5) with Juggluco (which monitors blood glucose from Libre sensors). I can just about feel the vibrations by touching the watch with my fingers but previously it was sufficient to wake me. I can still feel the vibrations Fitbit (or whatever it is) gives me to remind me to move once an hour, so the hardware is presumably fine.
re...@gmail.com <re...@gmail.com> #24
I am also experiencing this issue
to...@gmail.com <to...@gmail.com> #25
Is anyone from Google even working on this. This is getting ridiculous now. I took use the vibration to alert me, while sleeping to low and high blood glucose levels through juggluco and can no longer rely on it.
This is the sole reason I purchased the watch, can it be refunded as faulty?
This is the sole reason I purchased the watch, can it be refunded as faulty?
la...@gmail.com <la...@gmail.com> #26
Is Google working on this for the PW1?? Unsure as to why this is not of the absolute highest priority to fix. I just got my watch brand new, and now the largest feature is unusable. Considering returning
le...@gmail.com <le...@gmail.com> #27
Reset my PW1 yesterday to see if a factory reset makes any difference. Of course, the problem still persists, and apps like Sleep as Android can't use vibrations.
to...@gmail.com <to...@gmail.com> #28
Have spoken to 2 separate "customer service" agents from Google on this today, trying to get a refund on my watch so I can replace it with a PW2 to avoid this issue. Both, basically calling me a liar even when they saw this page. Disgusting.
la...@gmail.com <la...@gmail.com> #29
I returned my pixel watch and just wound up getting a galaxy watch instead. Its a shame this issue could not be addressed in a timely manner
mi...@gmail.com <mi...@gmail.com> #30
Having the same issue here, can someone from Google tell us if they are working on it ! It's been many weeks and seems pretty major for me !
an...@gmail.com <an...@gmail.com> #31
Same issue here, I have been intouch with support who have offered a replacement but I am reluctant to be sent what will inevitably be a refurbished unit that won't be any better, has anyone had any luck requesting a refund as the watch clearly doesn't work as it should anymore.
gi...@gmail.com <gi...@gmail.com> #32
This broke my app, TimeTwist, almost entirely. The #1 feature is vibration as the user's timer counts down. That vibration can no longer be felt.
am...@gmail.com <am...@gmail.com> #33
Its absolutely insane that this still hasn't been fixes, most definitely never buying another google device, what a joke
ri...@ripley-eldridge.com <ri...@ripley-eldridge.com> #34
this is an issue with my pixel 2 watch as well
mi...@gmail.com <mi...@gmail.com> #35
Can confirm still an issue with Pixel Watch 1. Vibration, especially with sleep as android is basically nonexistent.
do...@gmail.com <do...@gmail.com> #36
+1. *Very* annoying, and seems like it should at least be a sev 2. (PW 1)
sy...@gmail.com <sy...@gmail.com> #37
Reproducible on my Pixel Watch 1 with Sleep as Android. With the extremely weak vibration, I have missed my wakeup alarm on a few occasions at this point. Please fix ASAP.
mk...@blowthewhistle.com <mk...@blowthewhistle.com> #38
I have this same problem. It renders my Pixel Watch almost unusable because vibration notifications are essential to why I have the watch.
It's hard to understand why Google won't fix what it broke. Users don't deserve to have their device features depricated.
It's hard to understand why Google won't fix what it broke. Users don't deserve to have their device features depricated.
me...@gmail.com <me...@gmail.com> #39
Watch is useless for notifications please fix it Google or I will no longer be a Pixel phone and watch consumer
ri...@gmail.com <ri...@gmail.com> #40
This issue is still not resolved? I have this same problem. It renders my Pixel Watch almost unusable because vibration notifications are essential to why I have the watch.
de...@hmt.lu <de...@hmt.lu> #41
It is crazy how google ignores us.
Our app is getting bad reviews now because the vibrations are not detected by wearers, but this is not something we can fix because of this bug.
It is really a shame how bad the google support is nowadays and they are not even considering a crucial bug everyone is experiencing.
Our app is getting bad reviews now because the vibrations are not detected by wearers, but this is not something we can fix because of this bug.
It is really a shame how bad the google support is nowadays and they are not even considering a crucial bug everyone is experiencing.
vv...@google.com <vv...@google.com> #42
Thank you for reporting this issue. We have a fix rolling out in an upcoming release.
ph...@gmail.com <ph...@gmail.com> #43
That is fantastic to hear! Thank you very much, and I look forward to getting the fix.
ar...@gmail.com <ar...@gmail.com> #44
Can we get a confirmation that this fix will roll out with the next Pixel Watch 1 Wear OS update in March?
as...@mystique.dev <as...@mystique.dev> #45
Nice, I've had the same problem for months. The watch has just been lying around since then. Without vibration, it's just a clock. I hope the fix comes soon so I can finally use it again.
me...@gmail.com <me...@gmail.com> #46
When will Pixel watch 1 get this update? Still having vibration problems
ph...@gmail.com <ph...@gmail.com> #47
For anyone following this, I can confirm the March 2025 update DOES contain the fix for this. I was able to pull it last night and confirm functionality! Thank you team for resolving this one.
am...@gmail.com <am...@gmail.com> #48
Wow, I can finally use my smart watch that I paid hundreds of dollars for after 5 months of it being a paper weight. Never buy google if you want timely service I suppose.
Description
The bug can be demonstrated with just two lines of code:
Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE);
vibrator.vibrate(VibrationEffect.createOneShot(5000, 255));
This code vibrates the watch for 5 seconds with maximum amplitude. On WearOS 4, the vibration is easily detected when the watch is worn on the wrist. On WearOS 5, the vibration is undetectable when the watch is on the wrist but can just about be felt when holding the rim of the watch very lightly in the fingertips with the opposite hand. It appears that the WearOS 5 watch is vibrating with minimum amplitude instead of maximum amplitude. We have tried several variants of the Vibrator API, but have been unable to find a workaround that gives the expected vibration strength. So this bug adversely impacts any third-party app which uses the Vibrator API on a Pixel Watch 1 running WearOS 5. At this stage, we do not know if the bug impacts the Pixel Watch 2 on WearOS 5.
Before logging your issue, check to see whether it has already been reported at:
To avoid the possibility of sharing private information, please share bugreports and screenshots from Google Drive. Share files with android-bugreport@google.com and include only Google drive links in your bug. If attaching bug reports or other sensitive data directly to issues, please mark the attachment(s) as “Restricted (
Disclaimer:
Please note, by submitting this bug report, you acknowledge that Google may use information included in the bug report to diagnose technical issues and to improve our products and services, in accordance with our Privacy Policy (
Bug reports include personal information logged on your device or by apps, such as:
File names
Installed apps and usage
Email addresses of the profiles on the device
Device identifiers, such as phone number
Web history information, including URLs / URIs
Location information, including limited location history
Network information, such as IP/SSID/MAC addresses and saved or scanned APNs
System or device information, such as memory and processes