Wait for cleanup to finish for A2DP sink profile init
Problem: Due to recent change aosp/3141565, the cleanup method is called in addition to init calls. The cleanup method call runs in a separate thread and could result for it to be invoked post init This results in sink profile to be torn down and be in disabled state. Solution: Wait for cleanup to be done before invoking init method. Bug: 352073632 Test: m (lunch seahawk-trunk-userdebug) FLAG_EXEMPT: Hotfix for aosp/3141565. Change-Id: Id2902911a25a1a9edb2406cf0a6c8e4398163a13
Loading
Please register or sign in to comment