Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 228d634a authored by tonihei's avatar tonihei
Browse files

Simplify notification tracking in MediaSessionService

We are only really interested in new notifications for a
foreground service, so can ignore all non-FGS notifications
and also all follow-up notification updates for the same
notification. This should be a no-op change (no test failures)
and just reduces the number of calls through to ActivityManager.

Flag: com.android.media.flags.enable_notifying_activity_manager_with_media_session_status_change
Test: atest ActivityManagerNotifyMediaFGSTypeTest
Bug: 281762171
Change-Id: I3351f412edd48fcd523aa131f727b02ffdf536f2
parent a99ba3dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment