InCallService: Do not restore gain levels on service start
* This harms devices with an ultrasonic proximity sensor Change-Id: I3bc16a08db20cf8ec66734207413818a15ad0f65
This commit is contained in:
committed by
bengris32
parent
252611c2ee
commit
f4a2449ae5
@@ -52,9 +52,6 @@ public class VolumeChangeService extends Service {
|
||||
|
||||
telephonyManager.registerTelephonyCallback(getMainExecutor(), mCallStateListener);
|
||||
|
||||
// Restore gain levels on service start.
|
||||
GainUtils.setGainLevel(audioManager.getStreamVolume(AudioManager.STREAM_VOICE_CALL));
|
||||
|
||||
return START_STICKY;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user