diff options
| author | 2024-01-29 15:38:34 +0000 | |
|---|---|---|
| committer | 2024-02-23 08:29:03 +0000 | |
| commit | cf10753501ebf203e751c9fd6e9b9857105f9f4d (patch) | |
| tree | e0528be01d83f96f3f29bb0fb234f1f9b79d4be0 /libs/androidfw/StringPool.cpp | |
| parent | a46e7255379b9c8ed9534916d36bf944046636ac (diff) | |
Add Unique Identifier for MediaSessionRecord(s)
- This is part of the work done for b/295518668 and b/297052684 we need
to differentiate between MediaSessionRecords owned by the same app.
- For example an app should be allowed to go to the foreground if it
has at least an active media session in a user-engaged state.
- In case an app has 2 active media sessions that are in a user-engaged
states, moving one of them to user-not-engaged state shouldn't prevent
the app from being in the foreground because of the other session.
Bug: 322776229
Test: adb shell dumpsys media_session
Change-Id: I0958d9b955468757a94eb82c53fde29eb243c13b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions