path: root/android/AndroidManifest.xml
diff options
authorThomas Martitz <>2010-11-12 21:04:13 +0000
committerThomas Martitz <>2010-11-12 21:04:13 +0000
commit0cf2cc1607a0844e906042173815451cd9c2ff58 (patch)
tree77c555919d5c08f9a54f2b28cababe1d2d207f7e /android/AndroidManifest.xml
parentbb56bc4ba08bf6c6458a289ef4918dfaea30b238 (diff)
Android: Change how detecting call state (introduced in r27746) works, from polling to event based.
* For some reason, the polling methid is much more inefficient than I thought. According to htop it caused up to 15% CPU load on some phones (e.g. Galaxy S). The event based causes no CPU load. Rockbox' idle CPU load is now back to 0%, while it was previously dominated by polling the call state. * Also stop on outgoing calls (no need to explicitely pause for making a call anymore). * Factor out the detection mechanism to separate files. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'android/AndroidManifest.xml')
1 files changed, 2 insertions, 1 deletions
diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml
index e0fc106ca7..0eab90ff81 100644
--- a/android/AndroidManifest.xml
+++ b/android/AndroidManifest.xml
@@ -29,9 +29,10 @@
<uses-sdk android:minSdkVersion="4" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
+ <uses-permission android:name="android.permission.READ_PHONE_STATE"></uses-permission>