commit | ec2bb18c92dc489a0b54bfc96118007261e3e7be | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Fri Mar 23 18:04:00 2018 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Wed Mar 28 17:42:20 2018 -0700 |
tree | 6efa0763bb8b42602989824e8a85e536e5e508c7 | |
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