Skip to content

onTaskRemoved not called when app dismissed from recent tasks on Android 14 #805

Closed
@svenoaks

Description

@svenoaks

Version

Media3 1.1.1

More version details

Also happens with 1.2.0rc-1

Devices that reproduce the issue

  • API 34 emulator (Google Play)
  • Pixel 6a with Android 14

Devices that do not reproduce the issue

  • API 33 emulator (Google APIs)
  • Samsung Tab S7+ with Android 13

Reproducible in the demo app?

Yes

Reproduction steps

  1. Play some audio in demo-session app
  2. Tap pause in the app
  3. Navigate to the home screen
  4. Swipe up on the demo-session app from recent apps
  5. Observe dead notification in notifications

Expected result

There is no notification in the notification drawer

Actual result

There is a notification in the notification drawer that is inoperable, if you click on play button, a DeadObjectException is thrown

Media

Jazz & Blues, Jazz in Paris

Bug Report

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions