commit | 370588eb43a645ec0f2fed80ee654e8ad30b6e8a | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Mon Feb 29 11:40:56 2016 -0800 |
committer | Glenn Kasten <gkasten@google.com> | Mon Feb 29 11:45:31 2016 -0800 |
tree | 55c918fc8e2378ccbf0edfe405de97ede90a6045 | |
parent | 52bf3af76d9a2fe4bbc3866c24ed37cd194b173a [diff] |
Add use for audio_unique_id_t Bug: 25641253 Bug: 21019153 Change-Id: Ib36266c0771353823dfd84301094b4333dc2bda5
diff --git a/tests/tests/security/jni/android_security_cts_AudioPolicyBinderTest.cpp b/tests/tests/security/jni/android_security_cts_AudioPolicyBinderTest.cpp index 6011920..d0a8ec9 100644 --- a/tests/tests/security/jni/android_security_cts_AudioPolicyBinderTest.cpp +++ b/tests/tests/security/jni/android_security_cts_AudioPolicyBinderTest.cpp
@@ -74,7 +74,7 @@ } if (session != NULL) { //get a valid session - *session = AudioSystem::newAudioUniqueId(); + *session = AudioSystem::newAudioUniqueId(AUDIO_UNIQUE_ID_USE_SESSION); if (*session == AUDIO_UNIQUE_ID_ALLOCATE) { ALOGE("cannot get valid audio session"); return false;