summaryrefslogtreecommitdiff
path: root/libs/hwui/Program.cpp
diff options
context:
space:
mode:
author John Spurlock <jspurlock@google.com> 2014-03-19 22:09:06 -0400
committer John Spurlock <jspurlock@google.com> 2014-03-21 08:57:53 -0400
commitf9e1a0b369740e11ea1ed4f141ffb936fc1a6cdb (patch)
tree4095fb5381f5140c540ad157a788aae7252f9338 /libs/hwui/Program.cpp
parente003e7e8ca0bd697838ce48700d3fee8faf5110d (diff)
Annotate framework vibrate calls with stream hints.
Migrate existing framework usages of Vibrator.vibrate to use the new overload with an explicit stream hint. This prevents them from being blocked by rules targeting the unspecified stream. For calls that pass the existing appops check in VibrateService, pass streamHint down to the input device vibrator so we don't lose the signal, but leave it up to InputManager to decide what to do with it - currently unused. Change-Id: I65c944e4010edea29a412bf57d8d7d3b8098b746
Diffstat (limited to 'libs/hwui/Program.cpp')
0 files changed, 0 insertions, 0 deletions