diff options
| author | 2022-11-03 15:45:35 -0400 | |
|---|---|---|
| committer | 2022-11-10 17:41:20 -0500 | |
| commit | c6ca8afec1ee153c6e8bc733d98d23be7c080643 (patch) | |
| tree | 2b408a86996425e79c6293134ce0d3fba8d46fda /libs/androidfw/ApkParsing.cpp | |
| parent | 00773c6a8e8402a9f36caef94c5350c244ec739f (diff) | |
Allow conversation channels to inherit canBypassDnd from their parent.
This change passes through a more correct value of fromTargetApp to PreferencesHelper.createNotificationChannel. The reason this fixes the inheritance of canBypassDnd for conversation channels is that that field cannot be modified by apps; but when the system creates a conversation channel, it should be able to inherit all its properties from its parent.
Bug: 253848209
Test: atest NotificationManagerServiceTest, atest NotificationManagerTest (CTS)
Change-Id: I407a239376afac18afd6c2cf2471a0e5399253a3
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions