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

Skip to content
Commit 74317074 authored by Santiago Seifert's avatar Santiago Seifert
Browse files

Avoid multiple calls to start/stop FGS for the same session record

Shouldn't be an issue, as they should both be idempotent operations, but
following the principle of robustness, this CL avoids calling
startingFGSDelegate (or stop) multiple times in a row for the same
session.

Bug: b/295518668
Test: atest CtsMediaBetterTogetherTestCases
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsDelegateTest.java
Flag: com.android.media.flags.enable_notifying_activity_manager_with_media_session_status_change
Change-Id: Ie4a4d2e3b49329f5c4480f1ca4c2531b86fe39a2
parent 209e664c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment