Audio effect HAL: Add device ID to createEffect API

Add the possibility to specify a target audio device when
creating an audio effect by passing its audio port handle
to createEffect API.

Bug: 136294538
Test: make
Change-Id: I32a6400278496653b4204175cd8a16d81f9724a0
Merged-In: I32a6400278496653b4204175cd8a16d81f9724a0
diff --git a/services/audioflinger/Effects.cpp b/services/audioflinger/Effects.cpp
index 6e36a01..2289bdb 100644
--- a/services/audioflinger/Effects.cpp
+++ b/services/audioflinger/Effects.cpp
@@ -97,7 +97,7 @@
         sp<EffectsFactoryHalInterface> effectsFactory = audioFlinger->getEffectsFactory();
         if (effectsFactory != 0) {
             mStatus = effectsFactory->createEffect(
-                    &desc->uuid, sessionId, thread->id(), &mEffectInterface);
+                &desc->uuid, sessionId, thread->id(), AUDIO_PORT_HANDLE_NONE, &mEffectInterface);
         }
     }