summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2016-09-09 11:56:48 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2016-09-09 12:04:11 -0700
commite743bda5dec3c81ed6292c06b97b0c9f41464907 (patch)
tree8c8a07aa6593d78882c5492ce3e5813c2e9060a5 /tools/aapt2/diff/Diff.cpp
parent8c83edc43b3c5c5dc5b756acd0bacb0e8348db9f (diff)
Fix Zen mode for different notification usage types
ZenModeHelper was only considering a subset of all notification usage types. The code was also iterating over the usage values, expecting them to be contiguous, which will break with the addition of new usage values. The update consists in: - defining in AudioAttributes an array of expected usage types - defining the suppression behavior for each usage type - have ZenModeHelper query the behavior for each usage in order to apply the corresponding muting behavior. Bug 29009099 Change-Id: If884dda6297f125c60c5775c757df4f782e22e53
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions