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

Skip to content
Commit c87a66b1 authored by Kevin's avatar Kevin
Browse files

Fix test failure in NonPhoneDependencyTest.java.

The recent change to NotificationGroupManager to use
HeadsUpManager.isAlerting over the row causes a NPE to occasionally
surface if NonPhoneDependencyTest runs long enough.  When it sets up
the listener, it eventually gets a callback that adds a notification and
calls into NotificationGroupManager even though it hasn't had its
dependencies properly set up.  This CL fixes that by setting its
HeadsUpManager to the mock.

Test: ensure in all tests that NotificationGroupManager has its
dependencies set when NotificationEntryManager adds a notification
Fixes: 116495228

Change-Id: I7b82eedbf46fde5c8709dd03fdd36059041ef911
parent c3c71728
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