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

Skip to content
Commit 3d6b3964 authored by Ned Burns's avatar Ned Burns
Browse files

Make mPendingNotifications truly private (mk II)

(Added a nullcheck to callback in removeNotificationInternal)

Previously, NotificationEntryManager was exposing a reference to its
internal HashMap, mPendingNotifications, to
NotificationGroupAlertTransferHelper. NGATH only needed the reference to
iterate over the pending notifications, so now NEM exposes a new
getPendingNotificationsIterator() method that just exposes a read-only
iterator.

Also removes any references to NGATH in NEM. Initializes NGATH
independently from NEM.

Test: updated unit tests
Change-Id: I2bb345097b34fe18f008834c8f95fdb01f421436
parent b1f5aea8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment