fix: Allow screenshots again
This commit is contained in:
parent
99dd2dac71
commit
6258b6a1f9
|
@ -11,10 +11,6 @@ import android.view.WindowManager
|
|||
class MainActivity : FlutterActivity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
if (!BuildConfig.DEBUG) {
|
||||
window.setFlags(WindowManager.LayoutParams.FLAG_SECURE,
|
||||
WindowManager.LayoutParams.FLAG_SECURE)
|
||||
}
|
||||
};
|
||||
|
||||
override fun provideFlutterEngine(context: Context): FlutterEngine? {
|
||||
|
|
Loading…
Reference in New Issue