Fix/suppress new warnings introduced in Chromium roll.
TBR=henrika@webrtc.org Bug: webrtc:6597 Change-Id: Id26945a7be05250673b58de8220f78bc62886688 Reviewed-on: https://webrtc-review.googlesource.com/16860 Commit-Queue: Sami Kalliomäki <sakal@webrtc.org> Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20477}
This commit is contained in:
committed by
Commit Bot
parent
1d4c152a38
commit
bde473e4fa
@ -179,14 +179,11 @@ public class AppRTCAudioManager {
|
||||
// Create and initialize the proximity sensor.
|
||||
// Tablet devices (e.g. Nexus 7) does not support proximity sensors.
|
||||
// Note that, the sensor will not be active until start() has been called.
|
||||
proximitySensor = AppRTCProximitySensor.create(context, new Runnable() {
|
||||
// This method will be called each time a state change is detected.
|
||||
// Example: user holds his hand over the device (closer than ~5 cm),
|
||||
// or removes his hand from the device.
|
||||
public void run() {
|
||||
onProximitySensorChangedState();
|
||||
}
|
||||
});
|
||||
proximitySensor = AppRTCProximitySensor.create(context,
|
||||
// This method will be called each time a state change is detected.
|
||||
// Example: user holds his hand over the device (closer than ~5 cm),
|
||||
// or removes his hand from the device.
|
||||
this ::onProximitySensorChangedState);
|
||||
|
||||
Log.d(TAG, "defaultAudioDevice: " + defaultAudioDevice);
|
||||
AppRTCUtils.logDeviceInfo(TAG);
|
||||
|
||||
Reference in New Issue
Block a user