Compare commits
2 commits
f285eacd55
...
826c120ca5
Author | SHA1 | Date | |
---|---|---|---|
826c120ca5 | |||
5cefbc24f5 |
2 changed files with 11 additions and 1 deletions
|
@ -3,6 +3,7 @@ package im.angry.openeuicc.ui
|
||||||
import android.annotation.SuppressLint
|
import android.annotation.SuppressLint
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import android.view.LayoutInflater
|
import android.view.LayoutInflater
|
||||||
|
import android.view.MenuItem
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import android.view.ViewGroup
|
import android.view.ViewGroup
|
||||||
import android.widget.TextView
|
import android.widget.TextView
|
||||||
|
@ -55,6 +56,15 @@ class EuiccInfoActivity : BaseEuiccAccessActivity() {
|
||||||
setupRootViewInsets(infoList)
|
setupRootViewInsets(infoList)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun onOptionsItemSelected(item: MenuItem): Boolean = when (item.itemId) {
|
||||||
|
android.R.id.home -> {
|
||||||
|
finish()
|
||||||
|
true
|
||||||
|
}
|
||||||
|
|
||||||
|
else -> super.onOptionsItemSelected(item)
|
||||||
|
}
|
||||||
|
|
||||||
override fun onInit() {
|
override fun onInit() {
|
||||||
refresh()
|
refresh()
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,7 +207,7 @@ class OpenEuiccService : EuiccService(), OpenEuiccContextMarker {
|
||||||
return@withEuiccChannelManager GetEuiccProfileInfoListResult(
|
return@withEuiccChannelManager GetEuiccProfileInfoListResult(
|
||||||
RESULT_OK,
|
RESULT_OK,
|
||||||
profiles.toTypedArray(),
|
profiles.toTypedArray(),
|
||||||
channel.removable
|
channel.port.card.isRemovable
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue