diff options
author | Daniel Sandler <dsandler@android.com> | 2012-11-13 20:49:47 -0800 |
---|---|---|
committer | Dave Burke <daveburke@google.com> | 2012-11-19 15:12:24 -0800 |
commit | aaec726948078dad0bcc5cbbb41bb2ee6a5a085b (patch) | |
tree | d254554ab5795eedd2d45d760e55bb07e7b562e3 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 721b370c5a2d787795257ac42317d389445e51f9 (diff) |
Notification vibration improvements: [DO NOT MERGE]
- When notifications vibrate as a fallback (that is,
because they want to play a sound but the device is in
vibrate mode), this no longer requires the VIBRATE
permission.
- As a bonus, if your notifications use DEFAULT_VIBRATE,
you don't need the VIBRATE permission either.
- If you specify a custom vibration pattern, you'll still
need the VIBRATE permission for that.
- Notifications vibrating in fallback mode use same
vibration pattern but can be changed easily in future.
- The DEFAULT_VIBRATE and fallback vibrate patterns are now
specified in config.xml.
Bug: 7531442
Change-Id: I7a2d8413d1becc53b9d31f0d1abbc2acc3f650c6
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions