Merge "policy_hal: revert the logic for setting force flag"
diff --git a/policy_hal/AudioPolicyManager.cpp b/policy_hal/AudioPolicyManager.cpp
index be678bc..45317e1 100644
--- a/policy_hal/AudioPolicyManager.cpp
+++ b/policy_hal/AudioPolicyManager.cpp
@@ -1095,7 +1095,7 @@
outputDesc->sharesHwModuleWith(desc) &&
(newDevices != desc->devices())) {
DeviceVector dev = getNewOutputDevices(mOutputs.valueFor(curOutput), false /*fromCache*/);
- bool force = prevDevices != dev;
+ bool force = desc->devices() != dev;
uint32_t delayMs;
if (dev == prevDevices) {
delayMs = 0;