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
Loading
Please register or sign in to comment