Add check to prevent recursive calls to compute the same volume

Added check to prevent unbounded recursive calls to compute music
volume in cases where changing a volume group would lead to
recomputation of the music volume. Also added a similar check for ringer
and accessibility. In both cases the goal is to prevent recomputing the
same volume group.

Bug: 293643676
Bug: 298282137
Test: Tested target with notification and music in the same volume
	group.

Change-Id: I40cea1e7c7a5158b309b4e1a440ae88b238b0566
1 file changed