finalized before open app on startup
parent
474e2ba545
commit
4695e6af86
@ -1,19 +1,5 @@
|
||||
package com.example.hmg_qline.hmg_qline
|
||||
|
||||
import android.os.Build
|
||||
import android.os.Bundle
|
||||
import io.flutter.embedding.android.FlutterActivity
|
||||
|
||||
class MainActivity : FlutterActivity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
// var REQUEST_OVERLAY_PERMISSIONS = 100
|
||||
// if (!Settings.canDrawOverlays(applicationContext)) {
|
||||
// val myIntent = Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION)
|
||||
// val uri: Uri = Uri.fromParts("package", packageName, null)
|
||||
// myIntent.data = uri
|
||||
// startActivityForResult(myIntent, REQUEST_OVERLAY_PERMISSIONS)
|
||||
// return
|
||||
// }
|
||||
}
|
||||
}
|
||||
class MainActivity : FlutterActivity() {}
|
||||
Loading…
Reference in New Issue