Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f9d0096 authored by Yuri Lin's avatar Yuri Lin
Browse files

Add elements to existing mChannelsList instead of overwriting in setChannels

This means that mChannels, which is initialized as an empty list upon declaration, cannot be overwritten (thus cannot be null) by a call to setChannels. This passes through the same channels in the list but does not keep the passed in structure.

Bug: 381131846
Flag: EXEMPT non-behavioral change
Test: NotificationManagerTest, NotificationManagerServiceTest, NotifictionChannelGroupTest
Change-Id: If8f564012b4000109734abab2339f776112cd146
parent eb8f4061
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment