commit | 7f378787dc2c610138a41c3fbcefeed6de21be53 | [log] [tgz] |
---|---|---|
author | Michael Wright <michaelwr@google.com> | Thu Jun 20 19:36:57 2019 +0100 |
committer | Michael Wright <michaelwr@google.com> | Tue Jun 25 16:57:10 2019 +0100 |
tree | 847c0cc4f72705930f1cefbbb6b43798245be128 | |
parent | 7fca2368af0c55fc4203186c259ada234d28b475 [diff] |
Ignore DND when FLAG_BYPASS_INTERRUPTION_POLICY is set. When DND is on, it sets AppOps to return MODE_IGNORED for any non-touch vibrations. Unfortunately, this means it blocks critical vibrations as well, like emergency alerts. In order to avoid this, we need to respect FLAG_BYPASS_INTERRUPTION_POLICY when set on the vibration attributes. Bug: 132112663 Bug: 135686242 Test: Manual Change-Id: I59465eed057b077a4c0548af162e0fec1c29afdc