Pal: Add check of device count to skip restoreDevice for plugin devices

If there is active stream running on current plugin device, no need
to check the re-configuration of device switch.

Add check of device count to skip restoreDevice for plugin devices.
Change-Id: I06174cc8385aae04a9894f8a6b123f767f586914
(cherry picked from commit b483ea2f3178b42faa589109fe46b1da2f526559)
1 file changed