diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2018-03-23 18:04:00 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2018-03-28 17:42:20 -0700 |
commit | ec2bb18c92dc489a0b54bfc96118007261e3e7be (patch) | |
tree | 6efa0763bb8b42602989824e8a85e536e5e508c7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 15db763bca1c2959be59c6619c0602bccb472443 (diff) |
NotificationManagerService: don't play notif in SILENT mode
Fix the test for playing a notification sound:
play sound when 1/ no exclusive focus
AND 2/ volume not 0
Previous test would play a notification if device was in SILENT
mode (volume was 0, but ringer mode was != VIBRATE)
Bug: 75043398
Test: enter silent mode, play notification, verify no ducking
Change-Id: I0e19d068f719a89c7a8a3c239da86c1dfce701ec
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions