diff options
author | Sam Mortimer <sam@mortimer.me.uk> | 2013-03-18 18:24:07 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-10-26 02:34:25 -0700 |
commit | aa107df6c5559639daa26883b78edd8fe32cec87 (patch) | |
tree | d69fe1804d397a8e403a72cbdee53f32e743146f /core/java/android/provider/Settings.java | |
parent | 2a2cc073b2b8918b5bd18c535f53de73d578db81 (diff) | |
download | frameworks_base-aa107df6c5559639daa26883b78edd8fe32cec87.zip frameworks_base-aa107df6c5559639daa26883b78edd8fe32cec87.tar.gz frameworks_base-aa107df6c5559639daa26883b78edd8fe32cec87.tar.bz2 |
[1/2] Forward port power connect/disconnect notification support
Original commit info:
[1/2] Power connect/disconnect notification support
part 1/2: frameworks/base PowerUI and Settings
http://review.cyanogenmod.org/#/c/35241/
part 2/2: packages/apps/Settings Sound settings
http://review.cyanogenmod.org/#/c/35242/
V-Old_Change-Id: I36a6b9f924d2cd52191a8e83a744745b37c5b068
OldChange-Id: Ib865e1c296cb8e1d957b2a48616c88ceaba5c008
Change-Id: I5db20ef23bdb644e2af06e8dcbc8fbd0cf7ce321
Signed-off-by: STELIX <ssspinni@gmail.com>
Diffstat (limited to 'core/java/android/provider/Settings.java')
-rw-r--r-- | core/java/android/provider/Settings.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index d807906..cd32a41 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -8026,6 +8026,24 @@ public final class Settings { */ public static final String LOW_POWER_MODE_TRIGGER_LEVEL = "low_power_trigger_level"; + /** + * Whether to sound when charger power is connected/disconnected + * @hide + */ + public static final String POWER_NOTIFICATIONS_ENABLED = "power_notifications_enabled"; + + /** + * Whether to vibrate when charger power is connected/disconnected + * @hide + */ + public static final String POWER_NOTIFICATIONS_VIBRATE = "power_notifications_vibrate"; + + /** + * URI for power notification sounds + * @hide + */ + public static final String POWER_NOTIFICATIONS_RINGTONE = "power_notifications_ringtone"; + /** * If 1, the activity manager will aggressively finish activities and * processes as soon as they are no longer needed. If 0, the normal |