summaryrefslogtreecommitdiff
path: root/ravenwood/scripts/extract-last-soong-commands.py
diff options
context:
space:
mode:
author Pradeep Sawlani <sawlani@google.com> 2025-02-10 22:37:09 -0800
committer Pradeep Sawlani <sawlani@google.com> 2025-02-18 08:52:20 -0800
commitdd3a96a364cf153b8db462e8c7ff992b92fb61b6 (patch)
tree8d5513511214558017dc0fa80c31b5b03ba22edc /ravenwood/scripts/extract-last-soong-commands.py
parent80f15bd5de84149f62588473e2e72558fb477c44 (diff)
Add systemRequestedFgToBg flag to ServiceRecord for system-initated transistions.
This commit introduces a boolean to track if last service transistion to background was done by system. This is useful in cases where service state is managed by system. Example: when a media session transistions from playing to stop/pause, system moves app hosted media service to background. Similarly when media session transistion back to playing, system moves app hosted media service to foreground. If app explicitly requests service to be in background via #StopForeground() call, system should respect that. Test: atest cts/tests/app/src/android/app/cts/ActivityManagerNotifyMediaFGSTypeTest.java Flag: com.android.media.flags.enable_notifying_activity_manager_with_media_session_status_change BUG: 281762171 Change-Id: Ib10a2700b3d083144804db12ef929f9d1869cebe Signed-off-by: Pradeep Sawlani <sawlani@google.com>
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions