commit | 4e9bfa02a291f69a181e9de6d5f9902cb756d6a0 | [log] [tgz] |
---|---|---|
author | Dichen Zhang <dichenzhang@google.com> | Wed Mar 06 16:33:59 2019 -0800 |
committer | Dichen Zhang <dichenzhang@google.com> | Wed Mar 06 16:36:25 2019 -0800 |
tree | 61d83c6f9d3392ca5941c351cdf7072aca956823 | |
parent | 63c0f36d2ba1b752a040b47d108f4cc907da227b [diff] |
Fixed routing change bug (1) Change logic of addAudioDeviceCallback() since mJAudioTrack is likely to be null when this function is called. (2) Replace add/removeGlobalRef() with JObjectHolder (3) Replace std::vector with utils/Vector.h Test: android.media.cts.RoutingTest#test_MediaPlayer2_RoutingChangedCallback with routing change log Bug: 127314187 Change-Id: I62d9c7600c710b49f0435bd1fc2741d79c928b55