Loading packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/MobileConnectionRepositoryImpl.kt +7 −2 Original line number Diff line number Diff line Loading @@ -325,8 +325,13 @@ class MobileConnectionRepositoryImpl( override val cdmaRoaming: StateFlow<Boolean> = telephonyPollingEvent .mapLatest { try { val cdmaEri = telephonyManager.cdmaEnhancedRoamingIndicatorDisplayNumber cdmaEri == ERI_ON || cdmaEri == ERI_FLASH } catch (e: UnsupportedOperationException) { // Handles the same as a function call failure false } } .stateIn(scope, SharingStarted.WhileSubscribed(), false) Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/MobileConnectionRepositoryImpl.kt +7 −2 Original line number Diff line number Diff line Loading @@ -325,8 +325,13 @@ class MobileConnectionRepositoryImpl( override val cdmaRoaming: StateFlow<Boolean> = telephonyPollingEvent .mapLatest { try { val cdmaEri = telephonyManager.cdmaEnhancedRoamingIndicatorDisplayNumber cdmaEri == ERI_ON || cdmaEri == ERI_FLASH } catch (e: UnsupportedOperationException) { // Handles the same as a function call failure false } } .stateIn(scope, SharingStarted.WhileSubscribed(), false) Loading