diff options
author | Ricardo Cerqueira <ricardo@cyngn.com> | 2015-08-04 15:52:08 +0100 |
---|---|---|
committer | Ricardo Cerqueira <ricardo@cyngn.com> | 2015-08-04 15:52:08 +0100 |
commit | 2e3656ab7e7a1693451b0b9a1cf00aab21e5b731 (patch) | |
tree | 966f3b42e56e42d56dd775c1596bfc0cc8cc53bb | |
parent | 3bfa6cd033d7e244536ab7fb20122aec5f4e81a9 (diff) | |
download | android_hardware_qcom_fm-2e3656ab7e7a1693451b0b9a1cf00aab21e5b731.tar.gz android_hardware_qcom_fm-2e3656ab7e7a1693451b0b9a1cf00aab21e5b731.tar.bz2 android_hardware_qcom_fm-2e3656ab7e7a1693451b0b9a1cf00aab21e5b731.zip |
FMRecord: Grant REAL_GET_TASKS
The Recording service relies on actvityManager.getRunningAppProcesses()
to verify that the expected recording client is alive. Calling that
is getting blocked by the lack of GET_TASKS permissions, so grant them.
TODO: Replace this entirely by something better. Relying on "ps" to
check the client status is bad design
Change-Id: I8054548e6933f96421ed6bbabfd729e112306e49
-rw-r--r-- | FMRecord/AndroidManifest.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FMRecord/AndroidManifest.xml b/FMRecord/AndroidManifest.xml index 96c0177..c1df646 100644 --- a/FMRecord/AndroidManifest.xml +++ b/FMRecord/AndroidManifest.xml @@ -34,6 +34,7 @@ <uses-permission android:name="android.permission.CAPTURE_AUDIO_OUTPUT" /> <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"/> <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> + <uses-permission android:name="android.permission.REAL_GET_TASKS" /> <application> |