summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioPolicyService.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-17 11:32:53 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-01-17 11:32:53 -0800
commit0696400a6bb9abbed62b3b9c6aa105495dc600a2 (patch)
tree2368d7ccb33fbceb99585839b85420e38e59abf0 /services/audioflinger/AudioPolicyService.cpp
parenta9b21c5a7c24fe14d20372263c0bf5faf3d3e348 (diff)
parentf78aee70d15daf4690de7e7b4983ee68b0d1381d (diff)
downloadframeworks_av-0696400a6bb9abbed62b3b9c6aa105495dc600a2.zip
frameworks_av-0696400a6bb9abbed62b3b9c6aa105495dc600a2.tar.gz
frameworks_av-0696400a6bb9abbed62b3b9c6aa105495dc600a2.tar.bz2
Merge "Use audio_mode_t consistently"
Diffstat (limited to 'services/audioflinger/AudioPolicyService.cpp')
-rw-r--r--services/audioflinger/AudioPolicyService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/AudioPolicyService.cpp b/services/audioflinger/AudioPolicyService.cpp
index 44311d0..c69944a 100644
--- a/services/audioflinger/AudioPolicyService.cpp
+++ b/services/audioflinger/AudioPolicyService.cpp
@@ -185,7 +185,7 @@ audio_policy_dev_state_t AudioPolicyService::getDeviceConnectionState(
device_address);
}
-status_t AudioPolicyService::setPhoneState(int state)
+status_t AudioPolicyService::setPhoneState(audio_mode_t state)
{
if (mpAudioPolicy == NULL) {
return NO_INIT;