commit | 9063fa7966a6d531595d8ada46d7667c569fc308 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Fri Jun 30 15:33:51 2017 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Fri Jun 30 15:33:51 2017 -0700 |
tree | 8b7396248f5625fd6523107f221de9fba432067a | |
parent | cd6d380e4f526476a11adface7680b3981c6a7d7 [diff] |
audiohal: Avoid making unneeded calls to HIDL inteface's ::castFrom Instead of calling '::castFrom' every time a conversion from IDevice to IPrimaryDevice is needed, make this conversion at initialization. This is to avoid additional IPC calls that are required for 'castFrom'. Bug: 63142881 Change-Id: Ic4192c729011ce2653772847e83da426116f9e94 Test: audio works