summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-12-07 13:56:34 -0800
committerJeff Brown <jeffbrown@google.com>2012-12-11 12:55:03 -0800
commit84e2756c0f3794c6efe5568a9d09101ba689fb39 (patch)
tree21927b498b4d35e2afaf2687ef09e86277d70267 /data
parent32b424f7240580e3948f44559050262e18de99d8 (diff)
downloadframeworks_base-84e2756c0f3794c6efe5568a9d09101ba689fb39.zip
frameworks_base-84e2756c0f3794c6efe5568a9d09101ba689fb39.tar.gz
frameworks_base-84e2756c0f3794c6efe5568a9d09101ba689fb39.tar.bz2
Play a tone when wireless charging begins.
Only plays a tone if the battery level is below 95% which is the same heuristic used when determining whether to turn the screen on. Use new low battery and wireless charging sounds on Mako. Bug: 7371658 Change-Id: Ia4527ec398d024ee418a4287e1fcbf0ec83bcc24
Diffstat (limited to 'data')
-rwxr-xr-xdata/sounds/AudioPackage10.mk1
-rw-r--r--data/sounds/effects/ogg/LowBattery.oggbin17786 -> 12401 bytes
-rw-r--r--data/sounds/effects/ogg/WirelessChargingStarted.oggbin0 -> 12025 bytes
3 files changed, 1 insertions, 0 deletions
diff --git a/data/sounds/AudioPackage10.mk b/data/sounds/AudioPackage10.mk
index cb55bba..b40e385 100755
--- a/data/sounds/AudioPackage10.mk
+++ b/data/sounds/AudioPackage10.mk
@@ -29,6 +29,7 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/effects/ogg/Undock.ogg:system/media/audio/ui/Undock.ogg \
$(LOCAL_PATH)/effects/ogg/Lock.ogg:system/media/audio/ui/Lock.ogg \
$(LOCAL_PATH)/effects/ogg/Unlock.ogg:system/media/audio/ui/Unlock.ogg \
+ $(LOCAL_PATH)/effects/ogg/WirelessChargingStarted.ogg:system/media/audio/ui/WirelessChargingStarted.ogg \
$(LOCAL_PATH)/notifications/ogg/Adara.ogg:system/media/audio/notifications/Adara.ogg \
$(LOCAL_PATH)/notifications/ogg/Alya.ogg:system/media/audio/notifications/Alya.ogg \
$(LOCAL_PATH)/notifications/ogg/Arcturus.ogg:system/media/audio/notifications/Arcturus.ogg \
diff --git a/data/sounds/effects/ogg/LowBattery.ogg b/data/sounds/effects/ogg/LowBattery.ogg
index 710e385..ab9eba3 100644
--- a/data/sounds/effects/ogg/LowBattery.ogg
+++ b/data/sounds/effects/ogg/LowBattery.ogg
Binary files differ
diff --git a/data/sounds/effects/ogg/WirelessChargingStarted.ogg b/data/sounds/effects/ogg/WirelessChargingStarted.ogg
new file mode 100644
index 0000000..66f6cd2
--- /dev/null
+++ b/data/sounds/effects/ogg/WirelessChargingStarted.ogg
Binary files differ