Fix Crash due to runtime exception from CarrierManager
Fix: 329754400 Test: atest passed Change-Id: I6065160dcd15d547241dd8bc0f9f99c336c59625
This commit is contained in:
@@ -36,4 +36,7 @@ fun CarrierConfigManager.safeGetConfig(
|
||||
// Settings should not assume Carrier config loader (and any other system services as well) are
|
||||
// always available. If not available, use default value instead.
|
||||
persistableBundleOf()
|
||||
} catch (e: RuntimeException) {
|
||||
// The reason is same with above.
|
||||
persistableBundleOf()
|
||||
}
|
||||
|
Reference in New Issue
Block a user