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

Skip to content
Commit 294d0a21 authored by Ned Burns's avatar Ned Burns
Browse files

Make mPendingNotifications truly private

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: Ic7471baa5a56737b9f5debaa30b0b51ef8bdb97d
parent 3ec307b2
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