summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioPolicyService.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-20 10:07:06 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-01-20 10:07:06 -0800
commitea3cc3bca949139e401b77f2ac0cce7ac6e76f8f (patch)
tree461e74fe9f5d14b718732ff58edc35164827ae01 /services/audioflinger/AudioPolicyService.cpp
parent6f444c95d86936217bf49fc11d279851b0fa364d (diff)
parent0b07b8085d7b837b4dd5f09e0c8c39408f6bdbf7 (diff)
downloadframeworks_av-ea3cc3bca949139e401b77f2ac0cce7ac6e76f8f.zip
frameworks_av-ea3cc3bca949139e401b77f2ac0cce7ac6e76f8f.tar.gz
frameworks_av-ea3cc3bca949139e401b77f2ac0cce7ac6e76f8f.tar.bz2
Merge "Remove dead setRingerMode(mode, mask)"
Diffstat (limited to 'services/audioflinger/AudioPolicyService.cpp')
-rw-r--r--services/audioflinger/AudioPolicyService.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/services/audioflinger/AudioPolicyService.cpp b/services/audioflinger/AudioPolicyService.cpp
index ba9f8b0..7a408bc 100644
--- a/services/audioflinger/AudioPolicyService.cpp
+++ b/services/audioflinger/AudioPolicyService.cpp
@@ -207,19 +207,6 @@ status_t AudioPolicyService::setPhoneState(audio_mode_t state)
return NO_ERROR;
}
-status_t AudioPolicyService::setRingerMode(uint32_t mode, uint32_t mask)
-{
- if (mpAudioPolicy == NULL) {
- return NO_INIT;
- }
- if (!checkPermission()) {
- return PERMISSION_DENIED;
- }
-
- mpAudioPolicy->set_ringer_mode(mpAudioPolicy, mode, mask);
- return NO_ERROR;
-}
-
status_t AudioPolicyService::setForceUse(audio_policy_force_use_t usage,
audio_policy_forced_cfg_t config)
{