codelab-activity_transitionapi icon indicating copy to clipboard operation
codelab-activity_transitionapi copied to clipboard

The Transition API is working fine on Galaxy S9 but got false positives on Pixel 5

Open ypchen520 opened this issue 3 years ago • 0 comments

I'm using the Transition API in a foreground service (by showing an ongoing notification) to constantly detect the user's physical activity transitions. It worked pretty well on Galaxy S9. However, when I tested the app on Pixel 5, I got multiple transitions from STILL to WALKING and WALKING to STILL even though the user was just picking up their phone and putting it back down. I was wondering if anyone encountered a similar issue. Thanks!

ypchen520 avatar Feb 13 '22 03:02 ypchen520