APM clear AS routing cache on output activity with preferred device

Since playback of output tracks affects routing (and volume
management), AudioService's routing cache must be cleared when
there is activity around outputs associated with tracks with a
preferred device.

Bug: 267412093
Test: dock/undock

Change-Id: I93a340956216bbeafda4dd98813cc91bd4fad1a5
1 file changed