commit | ba57b002d3b465aafeda2704bd342262c82f0a27 | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Wed Jun 16 15:48:51 2021 +0100 |
committer | Lais Andrade <lsandrade@google.com> | Thu Jun 17 15:30:11 2021 +0100 |
tree | 91ef6fe4c0186a6c165a4ef692c534e078115dd7 | |
parent | a2d7f961542c212a62e4dadfa096ca80906ba482 [diff] |
Fix usage filter over UNKNOWN vibration The usageFilter parameter added to Vibrator.cancel is always cancelling UNKNOWN vibrations (usage = 0). The filter should only cancel them if the value is the same usage, or if all usages are being cancelled. Fix: 182440404 Test: VibratorManagerServiceTest Change-Id: Ibf33fe24e5253501e751b027cbf4b68564d82929