diff options
author | Daniel Sandler <dsandler@android.com> | 2012-11-13 20:49:47 -0800 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2012-11-14 11:50:11 -0800 |
commit | edbb380950d60a5e7bcda04599fdf9cf43d18dbd (patch) | |
tree | 6e5a7da070e0334f8ccff84a3ac97e6571c1e81a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | faa38a08d5998e32dcfe21e084076cbbb64ca0ea (diff) |
Notification vibration improvements:
- 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 a different
vibration pattern.
- The DEFAULT_VIBRATE and fallback vibrate patterns are now
specified in config.xml.
Bug: 7531442
Change-Id: I7a2d8413d1becc53b9d31f0d1abbc2acc3f650c6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions