diff options
author | Chris Wren <cwren@android.com> | 2015-05-08 17:10:01 -0400 |
---|---|---|
committer | Chris Wren <cwren@android.com> | 2015-05-08 18:48:24 -0400 |
commit | 1b6ffba9e69dc1926e3c4cbcb52d1844c6ccaa32 (patch) | |
tree | cf44c44426a237a1cf08fad5183e6467e2abf5d9 /src/com/android/settings/notification/ZenModeAutomationSettings.java | |
parent | c0df6623a0eb0ebbdb965111269b96d9f4a4b976 (diff) | |
download | packages_apps_Settings-1b6ffba9e69dc1926e3c4cbcb52d1844c6ccaa32.zip packages_apps_Settings-1b6ffba9e69dc1926e3c4cbcb52d1844c6ccaa32.tar.gz packages_apps_Settings-1b6ffba9e69dc1926e3c4cbcb52d1844c6ccaa32.tar.bz2 |
log more settings actions
airplane mode
bluetooth
cell data
do not disturb
Bug: 20264417
Change-Id: I726033a126fba9f9dffc916806d636feea04033b
Diffstat (limited to 'src/com/android/settings/notification/ZenModeAutomationSettings.java')
-rw-r--r-- | src/com/android/settings/notification/ZenModeAutomationSettings.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/settings/notification/ZenModeAutomationSettings.java b/src/com/android/settings/notification/ZenModeAutomationSettings.java index 5b62844..ef22572 100644 --- a/src/com/android/settings/notification/ZenModeAutomationSettings.java +++ b/src/com/android/settings/notification/ZenModeAutomationSettings.java @@ -96,6 +96,7 @@ public class ZenModeAutomationSettings extends ZenModeSettingsBase { new ZenRuleNameDialog(mContext, mServiceListing, null, mConfig.getAutomaticRuleNames()) { @Override public void onOk(String ruleName, RuleInfo ri) { + MetricsLogger.action(mContext, MetricsLogger.ACTION_ZEN_ADD_RULE_OK); final ZenRule rule = new ZenRule(); rule.name = ruleName; rule.enabled = true; @@ -168,6 +169,7 @@ public class ZenModeAutomationSettings extends ZenModeSettingsBase { p.setOnPreferenceClickListener(new OnPreferenceClickListener() { @Override public boolean onPreferenceClick(Preference preference) { + MetricsLogger.action(mContext, MetricsLogger.ACTION_ZEN_ADD_RULE); showAddRuleDialog(); return true; } |