protected override void OnCreate(Bundle?savedInstanceState) { base.OnCreate(savedInstanceState); if (EnableUnsupportedDeviceDetection && !DeviceSecurityCheckUtil.IsSupported(EnableEmulator)) { Finish(); return; } }
protected override void OnCreate(Bundle?savedInstanceState) { base.OnCreate(savedInstanceState); AllowStart = DeviceSecurityCheckUtil.IsSupported(ThisAssembly.Debuggable); if (!this.IsAllowStart()) { return; } StartActivity(new Intent(this, typeof(MainActivity))); }