summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Hui Yu <huiyu@google.com> 2023-07-19 16:50:07 +0000
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2023-08-22 02:14:08 +0000
commit0b7bdf9b18dc799a67b3c9e9fdee384b39d44bb1 (patch)
tree240027528671188826a77a8ee07ebe1c3d683668 /libs/androidfw/ObbFile.cpp
parent297db07fd76c7adf5691d7d07506d8138f139778 (diff)
Add a flag byForegroundService to enqueueNotification() call.
This flag is passed to NotificationManagerService, the CallStyle check will treat byForegroundService flag same as isFgs flag. Only the ServiceRecord.postNotification() call at startForeground() call has byForegroundService flag set to true. Add a test case NotificationManagerServiceTest.java#checkCallStyleNotification_allowedForByForegroundService Bug: 280003654 Test: atest NotificationManagerServiceTest.java#checkCallStyleNotification_allowedForByForegroundService (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ea56bb0813c03d4b9d14795da979da8c86b8ccb1) Merged-In: Ibe30526ac0ff52e2e4fe9bc846576509cdf78236 Change-Id: Ibe30526ac0ff52e2e4fe9bc846576509cdf78236
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions