@@ -31,12 +31,12 @@ import android.webkit.PermissionRequest
31
31
import androidx.activity.compose.setContent
32
32
import androidx.activity.result.ActivityResultLauncher
33
33
import androidx.activity.result.contract.ActivityResultContracts
34
+ import androidx.appcompat.app.AppCompatActivity
34
35
import androidx.compose.runtime.collectAsState
35
36
import androidx.compose.runtime.getValue
36
37
import androidx.compose.runtime.mutableStateOf
37
38
import androidx.compose.runtime.remember
38
39
import androidx.core.content.IntentCompat
39
- import com.bumble.appyx.core.integrationpoint.NodeComponentActivity
40
40
import io.element.android.compound.theme.ElementTheme
41
41
import io.element.android.compound.theme.Theme
42
42
import io.element.android.compound.theme.isDark
@@ -49,7 +49,7 @@ import io.element.android.features.preferences.api.store.AppPreferencesStore
49
49
import io.element.android.libraries.architecture.bindings
50
50
import javax.inject.Inject
51
51
52
- class ElementCallActivity : NodeComponentActivity (), CallScreenNavigator {
52
+ class ElementCallActivity : AppCompatActivity (), CallScreenNavigator {
53
53
companion object {
54
54
private const val EXTRA_CALL_WIDGET_SETTINGS = " EXTRA_CALL_WIDGET_SETTINGS"
55
55
@@ -121,13 +121,11 @@ class ElementCallActivity : NodeComponentActivity(), CallScreenNavigator {
121
121
122
122
override fun onConfigurationChanged (newConfig : Configuration ) {
123
123
super .onConfigurationChanged(newConfig)
124
-
125
124
updateUiMode(newConfig)
126
125
}
127
126
128
- override fun onNewIntent (intent : Intent ? ) {
127
+ override fun onNewIntent (intent : Intent ) {
129
128
super .onNewIntent(intent)
130
-
131
129
setCallType(intent)
132
130
}
133
131
0 commit comments