diff options
| author | 2024-06-07 16:41:19 +0000 | |
|---|---|---|
| committer | 2024-06-07 18:03:16 +0000 | |
| commit | 74317074a39915e69ab87c841268da67a9303672 (patch) | |
| tree | d672ffa7d04ef37e2ddcebd56ca99da6f6b78bec /libs/androidfw/ZipFileRO.cpp | |
| parent | 209e664c2d75e497cc6fb4fb457efde62ccae7c0 (diff) | |
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
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions