commit | cf445877c60396cac1e8ecef75287952d2580db6 | [log] [tgz] |
---|---|---|
author | Jungshik Jang <jayjang@google.com> | Wed Aug 20 15:06:01 2014 +0900 |
committer | Jungshik Jang <jayjang@google.com> | Wed Aug 20 15:06:01 2014 +0900 |
tree | 1c42d69313be6dcee6091b60127b0fdcc7f81b96 | |
parent | 50afbb308db9cb511f48f4ce8437dd96ece0faba [diff] |
Use id to find proper HdmiDeviceInfo instead of ojbect itself. TvInputHardwareManager manages internal device info and update it by remove or add method of List collection. However, HdmiDeviceInfo overrides equals method and remove may not work if incoming HdmiDeviceInfo has different power status. Instead, this change iterates all HdmiDeviceInfo and compares id of HdmiDeviceInfo. Bug: 17145753 Change-Id: Ia5de3e33cf05b28fa2bd108d99e78de09b838fb3