Update ZenModeEventLogger to log change origin and rule package UID
This change adds the actual change origin enum to DNDStateChanged output for more specific information than the simple boolean "is user action" (thoug h that boolean also remains available). Also logs the rule owner's package uid rather than the caller in more cases, as the Settings UI now adds more ways in which the user can modify an app-owned mode through Settings.
Flag: android.app.modes_ui
Bug: 316950757
Test: ZenModeHelperTest, manual via statsd_testdrive
Change-Id: Ibad093a69d99c29675703197fd7e757a916b2e7a
3 files changed