f55769fefaeda9b3892c44262ca328f36505b919 |
|
07-Nov-2012 |
John Spurlock <jspurlock@google.com> |
Low battery dialog should use UserHandle.CURRENT. Bug:7493313 Change-Id: Ie753633c550e4ce679fbb6f9e0c6adf56392ec87
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
|
8d9a1f66d9d3dbbd45a56d441a746ec11dba7645 |
|
19-Oct-2012 |
Jeff Sharkey <jsharkey@android.com> |
More migration to Global settings. Bug: 7375796 Change-Id: I3954ce141ad30073896090a28eee743ba15fd736
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
|
88400d3a31139c40c4014faf86c243647087ef6c |
|
30-Sep-2012 |
Craig Mautner <cmautner@google.com> |
Add flag for displaying non-user's Windows to user. Created a new flag that indicates that a window should be shown to all users. For the flag to be valid the owner of the window must have system permissions. Also separated system window types into those that show to all users (e.g. StatusBar, Keyguard, ....) and those that appear only to the owning users (e.g. Drag, ANR, TOAST, ...). Those that appear only to their owner can override their default behavior using the new flag (e.g. LowBattery). Fixes bug 7211965. Change-Id: I1fdca25d57b7b523f0c7f8bceb819af656c388d4
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
|
6d5176638c2189595cede38fb92c3e7e8700e221 |
|
24-Apr-2012 |
Eric Laurent <elaurent@google.com> |
system and UI sounds volume policy Implement a more consistent policy for system and UI sounds (key clicks, lock/unlock, camera shutter, DTMF, low battery...): - All system sounds are played over STREAM_SYSTEM stream type. - The STREAM_SYSTEM volume that was previously fixed now tracks the volume of a "master" stream type. This "master" stream type is STREAM_RING for phones and STREAM_MUSIC for tablets which corresponds to the stream whose volume is modified by default by the volume keys. - The STREAM_SYSTEM volume ranges from -24dB to -6dB (-24dB to -12dB over headphones) when the "master" stream volume ranges from its min to its max. - DTMF tones are played over STREAM_DTMF that tracks the "master" stream volume in the same manner with the following exception: when in call, DTMF stream tracks STREAM_VOICE_CALL volume. - Camera shutter sound is played over STREAM_SYSTEM_ENFORCED stream that tracks the "master" stream volume except in countries where regulation enforces this sound. In this case its volume is fixed and cannot be muted. - Low battery sound is played over STREAM_SYSTEM and therefore has a tunable volume and is heard while in call. Issue 6344620. Issue 6069229. Issue 6213100. Change-Id: I53a237878ead596e706c5dbbb1420e62cde32bd7
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
|
7198662bb3c81a761fdfa3038d90df68d22c0b97 |
|
26-Jul-2011 |
Daniel Sandler <dsandler@google.com> |
Play the low-battery sound only at certain discharge events. That is, only play it when the device is running on battery and the remaining charge level descends into a new low-battery regime: * when the device hits the first threshold, for example 15% (the dialog is first shown at this time) * when the device hits the second threshold, e.g. 4% (the dialog will be redisplayed if necessary) * when the device has been charging but AC power is removed, returning the device to a low-battery regime (the dialog will be redisplayed if necessary) The sound will no longer be replayed as the battery level descends within these regimes (say, 4% --> 3%). Bug: 4981280 Change-Id: I049d60f39ae556241a23f8664e61be3d70d937e5
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
|
f4a9e7d97ee68fe74d6cae06f49b51730428941f |
|
06-Apr-2011 |
Joe Onorato <joeo@google.com> |
more targeted logging Change-Id: Id440a0f20ae360cd6863aa198d82b5ff2dd2f3b7
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
|
d57c8d93c0fe353cdb2de183f4df834b8c1829c3 |
|
03-Feb-2011 |
Daniel Sandler <dsandler@google.com> |
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
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
|
e797b82c767a68cddbe90555426116a669a2f7d9 |
|
27-Jan-2011 |
Mike Lockwood <lockwood@android.com> |
Revert "getRingtone is causing an anr. Turn it off for now." ANR doesn't seem to be happening any more. BUG: 3142881 This reverts commit c597ba8e9ad08ac628271b4498c27eda74c6c86c. Change-Id: Ib6eb407c700bc9a8460f49394ec71d75d14588e2 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
|
947f7824118f0e9b642df8760a8725a7eda59318 |
|
08-Jan-2011 |
Adam Powell <adamp@google.com> |
Fix bug 3245465 - Themed dialog icons Added light/dark versions of holo dialog icons. Apps using AlertDialogs that wish to use the system dialog icon should use setIconAttribute(android.R.attr.alertDialogIcon) instead of setIcon(android.R.drawable.ic_alert_dialog). Change-Id: I40793a3164478be5ffa045ededfcab8210753a4b
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
|
a9ad6b818f6514af3ae583da650d64043764a124 |
|
30-Oct-2010 |
Joe Onorato <joeo@google.com> |
Slightly easier to read Change-Id: I818d885999150333ec326a283f4574571c09add1
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
|
4ca7f1e2811dc889e526de6c3d30bac8501c23d2 |
|
28-Oct-2010 |
Joe Onorato <joeo@google.com> |
Implement reminder power dialog and invalid charger dialog. Bug: 2510318 Bug: 2974431 Change-Id: I92eb419eeffb657e5572a35a490735a96b303d6b
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
|
c597ba8e9ad08ac628271b4498c27eda74c6c86c |
|
27-Oct-2010 |
Joe Onorato <joeo@google.com> |
getRingtone is causing an anr. Turn it off for now. Change-Id: Ia002c9be1cd203e5e989f2a9e49c49b97778ec1b
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
|
10523b4d0c99cec86647130426d470a1e02a44f6 |
|
25-Oct-2010 |
Joe Onorato <joeo@google.com> |
Make the low battery dialog work again. Change-Id: I97232a3645e6a817c9c5f5f90b88a7e925d36d13
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/PowerUI.java
|