Update WindowManager.java