Skip to content
Snippets Groups Projects
Commit a92f8599 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

HardwareService: lazily initialize mHasSpeakerPhone

Change-Id: I2275442f573492bd997d447ab8ad6c3bf72ddb22
parent 37f84481
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ class HardwareServiceImpl(
private var pendingScreenSharingSession: MediaProjection? = null
private val shouldCapture = HashSet<String>()
private var mShouldSpeakerphone = false
private val mHasSpeakerPhone: Boolean = hasSpeakerphone()
private val mHasSpeakerPhone: Boolean by lazy { hasSpeakerphone() }
private var mIsChoosePlugin = false
private var mMediaHandlerId: String? = null
private var mPluginCallId: String? = null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment