forked from PeterCxy/OpenEUICC
Compare commits
No commits in common. "9dd0c1040316f34d78dbdb4944fca632aeeca55a" and "12d02ee76c1c2373199dd714cfb3962e023bbe94" have entirely different histories.
9dd0c10403
...
12d02ee76c
3 changed files with 14 additions and 2 deletions
|
@ -29,7 +29,7 @@ open class EuiccChannelManager(protected val context: Context) {
|
|||
}
|
||||
|
||||
protected open val uiccCards: Collection<UiccCardInfoCompat>
|
||||
get() = (0 until tm.activeModemCountCompat).map { FakeUiccCardInfoCompat(it) }
|
||||
get() = (0..<tm.activeModemCountCompat).map { FakeUiccCardInfoCompat(it) }
|
||||
|
||||
private suspend fun ensureSEService() {
|
||||
if (seService == null) {
|
||||
|
|
|
@ -59,7 +59,7 @@ class NotificationsActivity: AppCompatActivity(), OpenEuiccContextMarker {
|
|||
refresh()
|
||||
}
|
||||
|
||||
override fun onCreateOptionsMenu(menu: Menu): Boolean {
|
||||
override fun onCreateOptionsMenu(menu: Menu?): Boolean {
|
||||
super.onCreateOptionsMenu(menu)
|
||||
menuInflater.inflate(R.menu.activity_notifications, menu)
|
||||
return true
|
||||
|
|
|
@ -13,6 +13,16 @@ cc_library_static {
|
|||
],
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
name: "liblpac-asn1c",
|
||||
defaults: ["lpac-jni-defaults"],
|
||||
local_include_dirs: ["lpac/euicc/asn1c"],
|
||||
cflags: ["-DHAVE_CONFIG_H"],
|
||||
srcs: [
|
||||
"lpac/euicc/asn1c/asn1/*.c",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
name: "liblpac-euicc",
|
||||
defaults: ["lpac-jni-defaults"],
|
||||
|
@ -20,6 +30,7 @@ cc_library_static {
|
|||
"lpac/euicc/*.c",
|
||||
],
|
||||
static_libs: [
|
||||
"liblpac-asn1c",
|
||||
"liblpac-cjson",
|
||||
],
|
||||
}
|
||||
|
@ -33,6 +44,7 @@ cc_library_shared {
|
|||
],
|
||||
static_libs: [
|
||||
"liblpac-euicc",
|
||||
"liblpac-asn1c",
|
||||
"liblpac-cjson",
|
||||
],
|
||||
shared_libs: ["liblog"],
|
||||
|
|
Loading…
Add table
Reference in a new issue