No description. Add one?
  • Kotlin 73.8%
  • Python 26.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Marijn Suijten da023cc43f ModemConfig: Convert getProviders one-time-init to lazyinit
Lazyinit allows a non-nullable to be null "temporarily" while it is
initialized outside of a constructor. This is useful in android
scenarios where initialization usually happens in onCreate().

Note that it is not really safe. The compiler doesn't do any checks or
use annotations to understand that this value should be initialized in
onCreate, nor does it fail compilation if it is never initialized at
all or used before initialization. After all `providers` remains a
`var`iable, not a `val`ue. In hindsight `lateinit` is simply a free pass
to circumvent compile-time null checks, and is best avoided.

Signed-off-by: Marijn Suijten <marijns95@gmail.com>
2020-10-26 10:15:44 +01:00
ModemConfig ModemConfig: Convert getProviders one-time-init to lazyinit 2020-10-26 10:15:44 +01:00
.gitignore gitignore: Ignore gen and lib folder created by aidegen + Android Studio 2020-06-05 22:44:34 +02:00
README.md ModemConfig: Receive subId, resolve config and trigger modem FW flash 2020-06-05 00:33:33 +02:00

SonyOpenTelephony

ModemConfig

Invokes modem-flasher with the appropriate firmware configuration name on boot and subscription (SIM) changes.