82379ba8ddc04116a40aa177df4ef6c2aa428a69 |
|
26-Jul-2014 |
Jeff Brown <jeffbrown@google.com> |
Don't suppress haptic feedback on keyguard anymore. This enables haptic feedback from virtual keys, lift-to-wake, and long-press power to work as expected on the keyguard. There doesn't seem to be a good reason for us to block haptic feedback on keyguard anymore. The PIN, pattern, and password locks already bypass this check and vibrate and require a swipe to access in the first place. So there doesn't seem to be much potential for accidental vibration anymore. If this becomes a problem then we can investigate more targeted means to suppress undesired vibration. Added some debugging code to VibratorService. Bug: 16535403 Change-Id: Ia7a5d8c35244009db36c358e5cbcbf8cf5d68768
/frameworks/base/services/core/java/com/android/server/VibratorService.java
|
89c3b29a9bfa0ae9858b913bc1ab6604c4613a15 |
|
20-Jul-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
Rename USAGE_NOTIFICATION_TELEPHONY_RINGTONE AudioAttributes: rename USAGE_NOTIFICATION_TELEPHONY_RINGTONE to USAGE_NOTIFICATION_RINGTONE in the list of usage values. Temporarily keep the old definition to prevent transient build breakages, will be removed after telephony packages have been updated. Bug 16401631 Change-Id: I9398443fd7ba3c30e9d371c5c5a2934b9ea6f30a
/frameworks/base/services/core/java/com/android/server/VibratorService.java
|
7b41467704f941b11af6aace3e40993afc7f6c6f |
|
18-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Zen mode filtering should use new usage constants. Refactor stream-based calls to usage-based calls. Bug:15279516 Change-Id: I3f7757d8123c14670e2ad5f8e6aa4e9803efe7ec
/frameworks/base/services/core/java/com/android/server/VibratorService.java
|
eb94fa7975b1e8742f3b00cec6bd4f9d6b329e3a |
|
04-Jun-2014 |
Dianne Hackborn <hackbod@google.com> |
Improvements to low power mode. Add new public API for monitoring low power mode. BatteryService now puts device in to low power mode when battery level is low. Window manager now watches low power mode to turn off animations. Modifying the animator scale now gets propagated to all processes. Change-Id: I8fa566994764ddd4e1977631e28381ab9409f8ee
/frameworks/base/services/core/java/com/android/server/VibratorService.java
|
7a32533c62fc7ac5d38f40de7372bc4314f7f2e5 |
|
21-May-2014 |
Jeff Brown <jeffbrown@google.com> |
am ccf51bef: am 2d9b513d: Merge "I\'m feeling the good vibrations." into klp-modular-dev * commit 'ccf51bef288652cb618a566a376173e252b84af0': I'm feeling the good vibrations.
|
969579bb9d208c91e081ff96d2fd788269d254bd |
|
21-May-2014 |
Jeff Brown <jeffbrown@google.com> |
I'm feeling the good vibrations. When the device enters a non-interactive state, we normally cancel all active vibrations as a safety precaution. However if the system is performing haptic feedback then we want to allow it to run to completion. Bug: 14319563 Change-Id: I673781bbf32562e45c1595689e6b423bd178ea73
/frameworks/base/services/core/java/com/android/server/VibratorService.java
|
664703d6be542d6feb64bca9ca5b2a7dbb8abd84 |
|
10-May-2014 |
Ruchi Kandoi <kandoiruchi@google.com> |
Vibrator: Minor coding style changes. Corrects the coding style errors caused by I762be1d51eedbf3184d80ed51dc93a0d113a6d5d Change-Id: I5adb713611f5479b21dd32ed8d8d51cb1910bca9
/frameworks/base/services/core/java/com/android/server/VibratorService.java
|
13b03aff2993653ef8bde8bedb1bbcc0fe09ba94 |
|
08-May-2014 |
Ruchi Kandoi <kandoiruchi@google.com> |
Vibrator: Low Power Mode: Vibrator is turned off when the device is in Low Power Mode Vibrator is disabled for all touching and typing inputs during low power mode. Change-Id: I762be1d51eedbf3184d80ed51dc93a0d113a6d5d
/frameworks/base/services/core/java/com/android/server/VibratorService.java
|
8fd7f1ed7c11d35b3f2a97878e68ee38a551dd15 |
|
11-Apr-2014 |
Christoph Studer <chstuder@google.com> |
Rename basePkg to opPkg ...and actually populate the field correctly. Change-Id: I3ce52efedb919d6af75dc9c3532e47764c467cac
/frameworks/base/services/core/java/com/android/server/VibratorService.java
|
f9e1a0b369740e11ea1ed4f141ffb936fc1a6cdb |
|
20-Mar-2014 |
John Spurlock <jspurlock@google.com> |
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
/frameworks/base/services/core/java/com/android/server/VibratorService.java
|
1af30c7ac480e5d335f267a3ac3b2e6c748ce240 |
|
10-Mar-2014 |
John Spurlock <jspurlock@google.com> |
Add stream-level suppression to vibrate/audio services. - Add new audio restriction layer to app-ops. Restrictions add additional constraints to audio operations at a stream-level. Restrictions do not affect the persistable state, and are purely additive: that is, they can only impose additional contstraints, not enable something that has already been disabled. Restrictions also support a whitelisted set of exempt package names. - Add new audio stream-level checks to app-ops. - Implement a provisional OP_PLAY_AUDIO suppression to three java entry points MediaPlayer, AudioTrack, & SoundPool. - Enhance vibrator api to take stream information as an optional hint - the constants correspond to AudioManager stream types. OP_VIBRATE now supports the stream-level restriction check. - Simplify Vibrator subclasses by adding default implementations for two .vibrate calls. - Migrate NoMan's zen-mode control to use the new app-ops stream-level restriction mechanism. Change-Id: Ifae8952647202f728cf1c73e881452660c704678
/frameworks/base/services/core/java/com/android/server/VibratorService.java
|
9158825f9c41869689d6b1786d7c7aa8bdd524ce |
|
22-Nov-2013 |
Amith Yamasani <yamasani@google.com> |
Move some system services to separate directories Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
/frameworks/base/services/core/java/com/android/server/VibratorService.java
|