summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/notification/ZenModeAutomationSettings.java
diff options
context:
space:
mode:
authorChris Wren <cwren@android.com>2015-05-11 15:07:17 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-05-11 15:07:18 +0000
commit46c8f759fdad71380504ad61a49031331ea39004 (patch)
tree3b7b2d553ed1d97b34d5b93fc35466595bbac1d2 /src/com/android/settings/notification/ZenModeAutomationSettings.java
parent69a03f75171c9f21ee4517f8e6d02cfa955c6a84 (diff)
parent1b6ffba9e69dc1926e3c4cbcb52d1844c6ccaa32 (diff)
downloadpackages_apps_Settings-46c8f759fdad71380504ad61a49031331ea39004.zip
packages_apps_Settings-46c8f759fdad71380504ad61a49031331ea39004.tar.gz
packages_apps_Settings-46c8f759fdad71380504ad61a49031331ea39004.tar.bz2
Merge "log more settings actions" into mnc-dev
Diffstat (limited to 'src/com/android/settings/notification/ZenModeAutomationSettings.java')
-rw-r--r--src/com/android/settings/notification/ZenModeAutomationSettings.java2
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 09af07a..2063e96 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;
}