mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-23 19:15:58 +00:00
start lock task mode (#36)
This commit is contained in:
@@ -55,6 +55,10 @@ fun Set<Any>.toText(): String{
|
||||
return output
|
||||
}
|
||||
|
||||
fun MutableList<Int>.toggle(status: Boolean, element: Int) {
|
||||
if(status) add(element) else remove(element)
|
||||
}
|
||||
|
||||
fun writeClipBoard(context: Context, string: String):Boolean{
|
||||
val clipboardManager = context.getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user