OSDN Git Service

Mark USAGE_NOTIFICATION_EVENT vibrations as notifications
authorAlexey Kuzmin <alexeykuzmin@google.com>
Tue, 20 Aug 2019 17:02:14 +0000 (18:02 +0100)
committerAlexey Kuzmin <alexeykuzmin@google.com>
Tue, 20 Aug 2019 17:19:12 +0000 (17:19 +0000)
commita5f043a6a0845b23a203c973482a4126f65fc51e
tree6c500a0ad063d152a744bbafabb2a665bd43b10e
parent95a675ce91b03955f61afa015663e8600e6ed4e6
Mark USAGE_NOTIFICATION_EVENT vibrations as notifications

Non-notification background vibrations are ignored. However, we don't
want to ignore notifications that represent various events, such as
reminders.
Test: Create a calendar event with a reminder. Close calendar and wait
for reminder. The device should vibrate when the reminder pops up.
Bug: 139523314

Change-Id: I231239daf7cc85bf69aaeef1da31218a23fcf311
services/core/java/com/android/server/VibratorService.java