- Use Utils function to add activities to activity stack.
This commit is contained in:
@@ -559,4 +559,9 @@ object Utils {
|
||||
return Color.argb(255, rnd.nextInt(256), rnd.nextInt(256),
|
||||
rnd.nextInt(256))
|
||||
}
|
||||
|
||||
fun addActivity(activity: String) {
|
||||
if (BaresipService.activities.first() != activity)
|
||||
BaresipService.activities.add(0, activity)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user