audio policy: fix regression in USB audio

Fix regression in audio device selection introduced by
commit d84e8f7f

Bug: 123500997
Test: play music over USB and BT A2DP
Change-Id: I25edea0103b5279eb2c49a5c944a72682ad6b288
(cherry picked from commit 04d65587867f39ace15cf4a2c20516208a31ee15)
diff --git a/services/audiopolicy/common/managerdefinitions/src/DeviceDescriptor.cpp b/services/audiopolicy/common/managerdefinitions/src/DeviceDescriptor.cpp
index dc5b238..8ae937d 100644
--- a/services/audiopolicy/common/managerdefinitions/src/DeviceDescriptor.cpp
+++ b/services/audiopolicy/common/managerdefinitions/src/DeviceDescriptor.cpp
@@ -105,10 +105,6 @@
 
 bool DeviceDescriptor::supportsFormat(audio_format_t format)
 {
-    if (mEncodedFormats.isEmpty()) {
-        return true;
-    }
-
     for (const auto& devFormat : mEncodedFormats) {
         if (devFormat == format) {
             return true;