Android: Fix warnings
TBR=sakal@webrtc.org Bug: webrtc:6597,webrtc:8534 Change-Id: I39f96d9e0e6d604051b1cc13368dd44fc82b30b0 Reviewed-on: https://webrtc-review.googlesource.com/23622 Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20719}
This commit is contained in:
committed by
Commit Bot
parent
df0822b102
commit
6062f372c7
@ -32,7 +32,7 @@ import android.content.Intent;
|
||||
import android.content.IntentFilter;
|
||||
import android.media.AudioManager;
|
||||
import android.util.Log;
|
||||
import java.util.LinkedList;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import org.appspot.apprtc.AppRTCBluetoothManager.State;
|
||||
import org.chromium.testing.local.LocalRobolectricTestRunner;
|
||||
@ -73,7 +73,7 @@ public class BluetoothManagerTest {
|
||||
mockedAudioManager = mock(AudioManager.class);
|
||||
mockedBluetoothHeadset = mock(BluetoothHeadset.class);
|
||||
mockedBluetoothDevice = mock(BluetoothDevice.class);
|
||||
mockedBluetoothDeviceList = new LinkedList<BluetoothDevice>();
|
||||
mockedBluetoothDeviceList = new ArrayList<BluetoothDevice>();
|
||||
|
||||
// Simulate that bluetooth SCO audio is available by default.
|
||||
when(mockedAudioManager.isBluetoothScoAvailableOffCall()).thenReturn(true);
|
||||
|
||||
Reference in New Issue
Block a user