commit | e450fe1a611e4dcf05046a6aa0df0bc8300cba61 | [log] [tgz] |
---|---|---|
author | Etan Cohen <etancohen@google.com> | Tue Feb 14 07:07:46 2017 -0800 |
committer | Etan Cohen <etancohen@google.com> | Tue Feb 14 10:50:25 2017 -0800 |
tree | 7a51ecb231e782c7438e06b51662593a3ad0efe0 | |
parent | 6f8a2a08c76f219d9332609da1d8f191ab36b53f [diff] |
[HAL Device Manager] getSupportedIfaceTypes() mod to never return null Change the semantics of HalDeviceManager.getSupportedIfaceTypes so that it never returns null. It now always returns a Set<IfaceType> - possibly an empty set. Cleaner than clients trying to figure out error conditions. Bug: 35101185 Test: unit tests (including new one for error) Change-Id: Icdff4192b3b7dc5901110e243a0a021a1593c01b