Fix race condition when registering latch Avoid the race condition by initializing the latch within the constructor of the listener. Test: atest AudioDeviceVolumeManagerTest Bug: 396216663 Flag: android.media.audio.unify_absolute_volume_management Change-Id: I9deb0034f3c26964712fc255bb8056bcb9bed9f7