mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-21 12:39:58 +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 = "";
|
resumeId = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
public void restartWebSocket() {
|
public final void restartWebSocket() {
|
||||||
reconnecting = true;
|
reconnecting = true;
|
||||||
|
|
||||||
// TODO when improving logging, keep in mind this issue: https://github.com/nextcloud/talk-android/issues/1013
|
// 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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void updateAudioDeviceState() {
|
public final void updateAudioDeviceState() {
|
||||||
ThreadUtils.checkIsOnMainThread();
|
ThreadUtils.checkIsOnMainThread();
|
||||||
Log.d(TAG, "--- updateAudioDeviceState: "
|
Log.d(TAG, "--- updateAudioDeviceState: "
|
||||||
+ "wired headset=" + hasWiredHeadset + ", "
|
+ "wired headset=" + hasWiredHeadset + ", "
|
||||||
|
@ -295,7 +295,7 @@ public class WebRtcBluetoothManager {
|
|||||||
/**
|
/**
|
||||||
* Stubs for test mocks.
|
* Stubs for test mocks.
|
||||||
*/
|
*/
|
||||||
protected AudioManager getAudioManager(Context context) {
|
protected final AudioManager getAudioManager(Context context) {
|
||||||
return (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
|
return (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user