Code example for AlertDialog

Methods: cancel, isShowing

0
		} 
	} 
 
	private void doFinishForRestart() 
	{ 
		if (invalidLaunchAlert != null && invalidLaunchAlert.isShowing()) {
			invalidLaunchAlert.cancel();
		} 
		invalidLaunchAlert = null;
 
		if (!isFinishing()) { 
			finish(); 
		} 
 
	} 
 
	public boolean isJSActivity() 
	{ 
		return false; 
	}