File tree Expand file tree Collapse file tree
app/src/main/java/dev/bluehouse/enablevolte Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -466,8 +466,8 @@ class SubscriptionModer(
466466 false
467467 }
468468
469- val userAgentConfig: String
470- get() = this .getStringValue(KEY_IMS_USER_AGENT ) ? : " "
469+ val userAgentConfig: String?
470+ get() = this .getStringValue(KEY_IMS_USER_AGENT )
471471
472472 val isIMSRegistered: Boolean
473473 get() {
Original file line number Diff line number Diff line change @@ -111,12 +111,7 @@ fun Config(
111111 show4GForLteEnabled = VERSION .SDK_INT >= VERSION_CODES .R && moder.isShow4GForLteEnabled
112112 hideEnhancedDataIconEnabled = VERSION .SDK_INT >= VERSION_CODES .R && moder.isHideEnhancedDataIconEnabled
113113 is4GPlusEnabled = moder.is4GPlusEnabled
114- configuredUserAgent =
115- try {
116- moder.userAgentConfig
117- } catch (e: java.lang.NullPointerException ) {
118- null
119- }
114+ configuredUserAgent = moder.userAgentConfig
120115 }
121116
122117 LaunchedEffect (true ) {
You can’t perform that action at this time.
0 commit comments