Player activity notification: SoundPool not ready for activity reporting
Some plumbing is missing to accurately report SoundPool's playback state, do not report it Test: run cts -m CtsMediaTestCases -t android.media.cts.AudioPlaybackConfigurationTest Bug: 35263297 Change-Id: I93389c87e5136912bfd11831b87d80495c3a1c3e
This commit is contained in:
@@ -103,6 +103,10 @@ public final class PlaybackActivityMonitor
|
||||
final boolean change;
|
||||
synchronized(mPlayerLock) {
|
||||
final AudioPlaybackConfiguration apc = mPlayers.get(new Integer(piid));
|
||||
// FIXME SoundPool not ready for state reporting
|
||||
if (apc.getPlayerType() == AudioPlaybackConfiguration.PLAYER_TYPE_JAM_SOUNDPOOL) {
|
||||
return;
|
||||
}
|
||||
if (checkConfigurationCaller(piid, apc, binderUid)) {
|
||||
//TODO add generation counter to only update to the latest state
|
||||
change = apc.handleStateEvent(event);
|
||||
|
||||
Reference in New Issue
Block a user