Added RingModeTracker

This removes the dependency on re-delivery of sticky broadcasts by
having a single point in the system that listens to
RINGER_MODE_CHANGED_ACTION and RINGER_MODE_INTERNAL_CHANGED_ACTION.

Also, added some global mocks for Notification tests that were
constructing KeyguardUpdateMonitor (after many injections).

Also, added mock in KeyguardSecurityContainerTest.

Test: manual
Test: atest SystemUITests
Bug: 151641451

Change-Id: Ie81109cf1fe077bc4790f7a4e501df69dbb2323b
14 files changed