diff options
author | Daniel Sandler <dsandler@google.com> | 2011-02-03 01:06:31 -0500 |
---|---|---|
committer | Daniel Sandler <dsandler@google.com> | 2011-02-03 12:14:34 -0500 |
commit | d57c8d93c0fe353cdb2de183f4df834b8c1829c3 (patch) | |
tree | 7ab8841ef8ff63fc20965f25c38c0ca1d20771bd /packages | |
parent | ac14db72ca55110326f4ceb9ac34fddd360036f4 (diff) | |
download | frameworks_base-d57c8d93c0fe353cdb2de183f4df834b8c1829c3.zip frameworks_base-d57c8d93c0fe353cdb2de183f4df834b8c1829c3.tar.gz frameworks_base-d57c8d93c0fe353cdb2de183f4df834b8c1829c3.tar.bz2 |
Move the low battery sound to the notification stream.
This will allow its volume to be governed by the user's chosen
notification volume.
Bug: 3409396
Change-Id: I1bc59fd76f4b5250beac530b2711dd59d79b5384
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/power/PowerUI.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/power/PowerUI.java b/packages/SystemUI/src/com/android/systemui/power/PowerUI.java index f07f1d7..3401441 100644 --- a/packages/SystemUI/src/com/android/systemui/power/PowerUI.java +++ b/packages/SystemUI/src/com/android/systemui/power/PowerUI.java @@ -227,7 +227,7 @@ public class PowerUI extends SystemUI { if (soundUri != null) { final Ringtone sfx = RingtoneManager.getRingtone(mContext, soundUri); if (sfx != null) { - sfx.setStreamType(AudioManager.STREAM_SYSTEM); + sfx.setStreamType(AudioManager.STREAM_NOTIFICATION); sfx.play(); } } |