CyanogenMod/android_frameworks_base — comment on commit e8616aaf87cb301192bcbe594213eddd54baef0f
File: services/java/com/android/server/wm/WindowManagerService.java line 6097
By nebkat:

Should this be == instead of != ?