Converted classmap to kotlin

This commit is contained in:
Viktor De Pasquale
2019-05-13 15:34:53 +02:00
parent 92789c3113
commit eb169cb133
8 changed files with 36 additions and 37 deletions
@@ -41,7 +41,7 @@ open class GeneralReceiver : BroadcastReceiver() {
}
when (action) {
SuRequestActivity.REQUEST -> {
val i = Intent(context, ClassMap.get<Any>(SuRequestActivity::class.java))
val i = Intent(context, ClassMap[SuRequestActivity::class.java])
.setAction(action)
.putExtra("socket", intent.getStringExtra("socket"))
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)