mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-21 04:29:45 +01:00
Spotbug: make constructor-called methods final
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
09012cce6a
commit
8b61808fda
@ -152,7 +152,7 @@ public class MagicWebSocketInstance extends WebSocketListener {
|
||||
resumeId = "";
|
||||
}
|
||||
|
||||
public void restartWebSocket() {
|
||||
public final void restartWebSocket() {
|
||||
reconnecting = true;
|
||||
|
||||
// TODO when improving logging, keep in mind this issue: https://github.com/nextcloud/talk-android/issues/1013
|
||||
|
@ -399,7 +399,7 @@ public class WebRtcAudioManager {
|
||||
return false;
|
||||
}
|
||||
|
||||
public void updateAudioDeviceState() {
|
||||
public final void updateAudioDeviceState() {
|
||||
ThreadUtils.checkIsOnMainThread();
|
||||
Log.d(TAG, "--- updateAudioDeviceState: "
|
||||
+ "wired headset=" + hasWiredHeadset + ", "
|
||||
|
@ -295,7 +295,7 @@ public class WebRtcBluetoothManager {
|
||||
/**
|
||||
* Stubs for test mocks.
|
||||
*/
|
||||
protected AudioManager getAudioManager(Context context) {
|
||||
protected final AudioManager getAudioManager(Context context) {
|
||||
return (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user