summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Lais Andrade <lsandrade@google.com> 2022-03-04 16:09:07 +0000
committer Lais Andrade <lsandrade@google.com> 2022-03-07 15:42:16 +0000
commit95993a7c38ac15654c2050eca7850d8b64c06654 (patch)
treeb1d74d5d916b8b632f182e2472be02e074f18ee3 /libs/androidfw/StringPool.cpp
parentcc9e167538ce3d7b87ca9c2b423a6b4aa4ab0674 (diff)
Apply ringer mode user settings to notification vibrations
The vibrator service is only applying the ringer mode settings to ringtone vibrations, forcing them to be disabled when ringer mode is silent. This is applied to notification vibrations by the notification manager, but some other paths (including 3p apps) might apply this usage and the ringer mode settings would not be applied to them (e.g. Dialer and Telecom app/service, Car services, etc). This also applies the flag FLAG_BYPASS_INTERRUPTION_POLICY on ringer mode, since the CellBroadcastAlert can trigger alerts with the notification usage and those need to bypass user settings and vibrate all the time. Bug: 198794501 Test: VibrationSettingsTest Change-Id: Ic00fbd32d859b0c77830450add24826e0dd13366
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions