diff options
author | Michael Wright <michaelwr@google.com> | 2019-06-20 19:36:57 +0100 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2019-06-25 16:57:10 +0100 |
commit | 7f378787dc2c610138a41c3fbcefeed6de21be53 (patch) | |
tree | 847c0cc4f72705930f1cefbbb6b43798245be128 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions