commit | a9a94a185b2347dd0975a477b3cf8234bd7b1010 | [log] [tgz] |
---|---|---|
author | Beth Thibodeau <ethibodeau@google.com> | Thu Jan 12 17:57:52 2023 -0600 |
committer | Beth Thibodeau <ethibodeau@google.com> | Thu Jan 12 18:02:16 2023 -0600 |
tree | d4f27d73f95b77165940a3013d1aa1dc45cf8714 | |
parent | 6195a5c22c71949be5da241a13e3e5f4ed7b0a92 [diff] |
Check ongoing flag for media control dismissal To match NotificationEntry#isDismissible, use the ongoing flag instead to determine whether or not the control can be cleared. This enables media controls with only the NO_CLEAR flag to be dismissed manually, which matches notification behavior. Bug: 264179692 Test: atest MediaDataManagerTest Change-Id: I869cae5c53115fe6131071b23b21339696721972