summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Pradeep Sawlani <sawlani@google.com> 2024-11-08 13:23:00 -0800
committer Pradeep Sawlani <sawlani@google.com> 2024-11-18 22:06:39 -0800
commitff38543e4c232f747bb1aaa86f0c3476e84b7c36 (patch)
tree55a2839fdc9dac9bcd42dbf4948fae2c4c42c982 /cmds/bootanimation/BootAnimation.cpp
parentc939f2cb680d3b74f4050e35ad51a89c49199758 (diff)
am: Add set-media-foreground-service command.
Changes add command to set media foreground service inactive: am set-media-foreground-service inactive [--user USER_ID] <PACKAGE> <NOTIFICATION_ID> e.g: adb shell am set-media-foreground-service inactive --user 0 com.spotify.music 2131430868 Notification ID associated with foreground service can be found out using 'dumpsys activity services` and looking for foregrondId. 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: Iad333b081c989b3164f2aa335361117c28b0bf7b Signed-off-by: Pradeep Sawlani <sawlani@google.com>
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions