Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 944017c8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Log whether notification channel updates are user initiated"

parents c78acd25 52ebc15c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -722,7 +722,8 @@ public class PreferencesHelper implements RankingConfig {

        if (!channel.equals(updatedChannel)) {
            // only log if there are real changes
            MetricsLogger.action(getChannelLog(updatedChannel, pkg));
            MetricsLogger.action(getChannelLog(updatedChannel, pkg)
                    .setSubtype(fromUser ? 1 : 0));
        }

        if (updatedChannel.canBypassDnd() != mAreChannelsBypassingDnd