commit | e1f06b88e8a5c01a405bf00af4ef5e9e8046161a | [log] [tgz] |
---|---|---|
author | Alexey Kuzmin <alexeykuzmin@google.com> | Wed Jun 20 17:48:43 2018 +0100 |
committer | Alexey Kuzmin <alexeykuzmin@google.com> | Fri Jul 27 20:32:53 2018 +0100 |
tree | a7950a535c1e7a14fb136e5dbe16aaa88440604f | |
parent | f94dcd98180b83af193cd6a2602676a06f2978e9 [diff] [blame] |
Add an optional reason field to vibrator service Test: Run vibration test, see reason written to log and trace. Bug: 109654229 Change-Id: I13db6968c125e7c2b2483a14faad5b6ea9b4cda6
diff --git a/services/core/java/com/android/server/wm/Session.java b/services/core/java/com/android/server/wm/Session.java index 26ddf2c..5cf5e0d 100644 --- a/services/core/java/com/android/server/wm/Session.java +++ b/services/core/java/com/android/server/wm/Session.java
@@ -287,7 +287,7 @@ try { return mService.mPolicy.performHapticFeedbackLw( mService.windowForClientLocked(this, window, true), - effectId, always); + effectId, always, null); } finally { Binder.restoreCallingIdentity(ident); }