summaryrefslogtreecommitdiff
path: root/libs/hwui/RenderNode.cpp
diff options
context:
space:
mode:
author Pradeep Sawlani <sawlani@google.com> 2024-10-31 19:54:48 -0700
committer Pradeep Sawlani <sawlani@google.com> 2024-11-13 15:22:45 -0800
commitc939f2cb680d3b74f4050e35ad51a89c49199758 (patch)
treefdc8494dab69201adbed1c575911558a85dde2f8 /libs/hwui/RenderNode.cpp
parent7c2a45be868b5c441f9c3cc06f44a2c37f6ea433 (diff)
ActivityManagerService: Add method to set media fgs inactive.
Changes adds a new method in activity manager service to set foreground service of type media playback inactive. This method is expected to be called from MediaSessionService when media session is "user-disengaged" for certain amount of time (>10mins). This method will move foreground service to background and allowing application to be subject to other system policies to save resources. Flag: com.android.media.flags.enable_notifying_activity_manager_with_media_session_status_change BUG: 281762171 Test: atest cts/tests/app/src/android/app/cts/ActivityManagerNotifyMediaFGSTypeTest.java Change-Id: If4e60dabeec6cc595703c0d07369d7526fe8d862
Diffstat (limited to 'libs/hwui/RenderNode.cpp')
0 files changed, 0 insertions, 0 deletions