pocket-casts-android
pocket-casts-android copied to clipboard
Keep Track of Skips in Rapid Succession
Description
If a user skips ahead 30 seconds with a button press, then immediately skips backwards 15 seconds, the "time saved skipping forward" that's recorded is 30 seconds saved. Or, if a user skips forward 30 seconds and immediately skips backwards 30 seconds, that's recorded as 30 seconds saved.
We should keep track of backward and forward skips within a two second window in PlaybackManager.kt
and only send the difference to statsManager
.
Fixes #969
Testing Instructions
- Skip forwards then quick skip backwards
- Check the stats and make sure that only the difference was sent.