diff options
author | Mike Lockwood <lockwood@android.com> | 2009-09-15 14:39:47 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2009-09-15 15:24:14 -0400 |
commit | cd03f5320d42290b1619933954a344b59dc55f4f (patch) | |
tree | 5f9544a5147112e9bc6c47c71b093966dd6508dc /AndroidManifest.xml | |
parent | a096888f3c7e14723168c323f0ffdb2473adf5d3 (diff) | |
download | packages_apps_settings-cd03f5320d42290b1619933954a344b59dc55f4f.zip packages_apps_settings-cd03f5320d42290b1619933954a344b59dc55f4f.tar.gz packages_apps_settings-cd03f5320d42290b1619933954a344b59dc55f4f.tar.bz2 |
Move backlight brightness from HardwareService to PowerManager
to prevent apps from changing the hardware behind its back.
Fixes b/2041941 Lock screen flashes the screen very bright before dimming
Change-Id: Ic4faa008357fd3d74225ba90f05801c5127fd8c0
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r-- | AndroidManifest.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index e61d375..7a1760d 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -6,6 +6,7 @@ <uses-permission android:name="com.google.android.providers.gmail.permission.READ_GMAIL" /> <uses-permission android:name="android.permission.WRITE_SETTINGS" /> <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> + <uses-permission android:name="android.permission.DEVICE_POWER" /> <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" /> <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> <uses-permission android:name="android.permission.VIBRATE" /> |