diff options
author | Daniel Sandler <dsandler@android.com> | 2012-11-13 20:49:47 -0800 |
---|---|---|
committer | The Android Automerger <android-build@android.com> | 2012-11-19 16:06:13 -0800 |
commit | cc2e849fa992ebcf99c63837e96a6c8950d2cebf (patch) | |
tree | a01d98ff6fa72a012929436b7d5ed91314a23d0e /graphics/java/android/renderscript/RenderScript.java | |
parent | 9a7debe5857ffc7c71cfc4082b1b6d72a5cf81cd (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 'graphics/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions