Skip to content
Commit 7e1156b6 authored by Yuri Lin's avatar Yuri Lin
Browse files

Add logging for zen mode events.

Gated on the LOG_DND_STATE_EVENTS flag.

This change adds a ZenModeEventLogger that logs atoms on zen mode state changes, policy changes, and changes in the number of active automatic rules. Additionally adjusts some methods in ZenModeHelper to pass the calling UID through (not gated by flag), which is only used when logging.

Bug: 259261349
Test: ZenModeHelperTest, PreferencesHelperTest, NotificationManagerServiceTest, AudioManagerTest (cts), NotificationManagerTest (cts), CtsLegacyNotification27TestCases, manual via statsd_testdrive
Change-Id: I4ed2d664b501b3cf281aa70a90a1d4fb8cebdf2e
parent 7fbed032
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