docs: @SuppressWarnings("unchecked")
  	public View[] getWindowDecorViews()
  	{
  
  		Field viewsField;
  		Field instanceField;
  		try {
  			viewsField = windowManager.getDeclaredField("mViews");
  			instanceField = windowManager.getDeclaredField(windowManagerString);
  			viewsField.setAccessible(true);
  			instanceField.setAccessible(true);
  			Object instance = instanceField.get(null);
  			View[] result;
  			if (android.os.Build.VERSION.SDK_INT >= 19) {
  				result = ((ArrayList<View>) viewsField.get(instance)).toArray(new View[0]);
  			} else {
  				result = (View[]) viewsField.get(instance);
  			}
  			return result;
  		} catch (Exception e) {
  			e.printStackTrace();
  		}
  		return null;
  	}