diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2014-12-17 17:38:44 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-12-17 17:38:44 +0000 |
commit | 99429b40411790b85e19c57392bbd292a237c470 (patch) | |
tree | bbb776ccbbd2e1ea760e1bbd95c5c96f4adbcfe6 /services/audioflinger | |
parent | 7ca332ab8d7329598386acc1f50c43fc59952210 (diff) | |
parent | 277c7b8c41436125742339d8c80bccf0f2b086d9 (diff) | |
download | frameworks_av-99429b40411790b85e19c57392bbd292a237c470.zip frameworks_av-99429b40411790b85e19c57392bbd292a237c470.tar.gz frameworks_av-99429b40411790b85e19c57392bbd292a237c470.tar.bz2 |
am 277c7b8c: Merge "Fix permission check for audio recording" into lmp-mr1-dev
* commit '277c7b8c41436125742339d8c80bccf0f2b086d9':
Fix permission check for audio recording
Diffstat (limited to 'services/audioflinger')
-rw-r--r-- | services/audioflinger/AudioFlinger.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp index 8acfc07..ccc05a1 100644 --- a/services/audioflinger/AudioFlinger.cpp +++ b/services/audioflinger/AudioFlinger.cpp @@ -1433,13 +1433,6 @@ sp<IAudioRecord> AudioFlinger::openRecord( goto Exit; } - if (deviceRequiresCaptureAudioOutputPermission(thread->inDevice()) - && !captureAudioOutputAllowed()) { - ALOGE("openRecord() permission denied: capture not allowed"); - lStatus = PERMISSION_DENIED; - goto Exit; - } - pid_t pid = IPCThreadState::self()->getCallingPid(); client = registerPid(pid); |