commit | f076db407029e734703d8676f806bea94393e824 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Jan 14 13:23:27 2015 -0800 |
committer | Eric Laurent <elaurent@google.com> | Thu Jan 15 10:13:52 2015 -0800 |
tree | beba72dba1ebe4be57685b760e397f125b8e9cb1 | |
parent | b018399a3a2762e95126acbe14397eca15bad772 [diff] |
AudioManager: make AudioPortEventHandler static Make AudioPortEventHandler and audio port and patch caches static members of AudioManager. There is only one callback per process in AudioSystem for audio port updates and having those non static would not work when more than one AudioManager instance exists in one app. Bug: 18727023. Change-Id: I4c1041dc6441d168be4efa066e14289cc5f41872