Extend user-engaged timeout to STOPPED, NONE, ERROR states
This ensures that these states are also considered temporarily
engaged for 10 minutes. This is useful for scenarios where an
app transitions to these states and expects to handle attempts
to restart playback within this timeout (similar to the existing
logic that applies to PAUSED only).
Test: Existing test
Bug: 295518668
Flag: com.android.media.flags.enable_notifying_activity_manager_with_media_session_status_change
Change-Id: I30ce0527cc963e7910bafc9cbac4a8acc81d66e0
1 file changed