fix: Name clash with OpenEuiccContextMarker::context

This commit is contained in:
Peter Cai 2024-02-04 20:43:59 -05:00
parent dedf633ce4
commit 5517b7dcd1

View file

@ -27,7 +27,7 @@ val Context.selfAppVersion: String
} }
interface OpenEuiccContextMarker { interface OpenEuiccContextMarker {
val context: Context val openEuiccMarkerContext: Context
get() = when (this) { get() = when (this) {
is Context -> this is Context -> this
is Fragment -> requireContext() is Fragment -> requireContext()
@ -35,7 +35,7 @@ interface OpenEuiccContextMarker {
} }
val openEuiccApplication: OpenEuiccApplication val openEuiccApplication: OpenEuiccApplication
get() = context.applicationContext as OpenEuiccApplication get() = openEuiccMarkerContext.applicationContext as OpenEuiccApplication
val euiccChannelManager: EuiccChannelManager val euiccChannelManager: EuiccChannelManager
get() = openEuiccApplication.euiccChannelManager get() = openEuiccApplication.euiccChannelManager