commit | 7c5d31ea93d6f6770c34f7a2a364522d8cc4b5d8 | [log] [tgz] |
---|---|---|
author | Yuncheol Heo <ycheo@google.com> | Wed Sep 03 16:28:54 2014 +0900 |
committer | Yuncheol Heo <ycheo@google.com> | Wed Sep 03 17:03:42 2014 +0900 |
tree | 4240276816f18df538588856dab93fd76c62ff43 | |
parent | c0f394e866fa8b0035701323112eba9d4015befb [diff] |
Invoke the callback only when DeviceInfo is available. - There is possibility that DeviceInfo can be null when unplugging MHL cable, if the capability register event is missed. and we should not invoke the callback in this case. - In addition, we'd better use the portId of HdmiMhlLocalDevice directly, not one of DeviceInfo. Bug: 17366541 Change-Id: I40d71e27d82c5f3a4c7aabda32119856c0bde83d