Finish the sims page when airplane mode on
Bug: 335392575 Test: verify UI Change-Id: I9d1e4c243e195abe8c917dc83ffed175f7ef74ec
This commit is contained in:
@@ -83,7 +83,7 @@ object SimOnboardingPageProvider : SettingsPageProvider {
|
||||
): String = "${name}/$subId"
|
||||
}
|
||||
|
||||
private fun Context.getActivity(): Activity? = when (this) {
|
||||
fun Context.getActivity(): Activity? = when (this) {
|
||||
is Activity -> this
|
||||
is ContextWrapper -> baseContext.getActivity()
|
||||
else -> null
|
||||
|
||||
Reference in New Issue
Block a user