am 8bbc5269: Merge "Don\'t check a staticly allocated array for null."

* commit '8bbc526921a5034ccde19e5ae5ec4d5b0cc180ee':
  Don't check a staticly allocated array for null.
This commit is contained in:
Dan Albert
2014-09-10 17:42:40 +00:00
committed by Android Git Automerger

View File

@@ -1381,7 +1381,7 @@ void EventHub::releaseControllerNumberLocked(Device* device) {
bool EventHub::hasKeycodeLocked(Device* device, int keycode) const {
if (!device->keyMap.haveKeyLayout() || !device->keyBitmask) {
if (!device->keyMap.haveKeyLayout()) {
return false;
}