diff options
author | Josh Wu <joshwu@google.com> | 2022-03-28 02:59:45 -0700 |
---|---|---|
committer | Josh Wu <joshwu@google.com> | 2022-04-07 09:02:20 -0700 |
commit | 08255b45d906ffe2da7026ea70f9e57ecca7c09d (patch) | |
tree | f44df681a33038fd8b8aa0f94eae6e2064d82832 /bluetooth/audio/aidl/default/BluetoothAudioProvider.h | |
parent | 1edd38d6ee7b883e7a5327e1a37dd4a4cb202964 (diff) |
BtAudio: Prevent unlink dead binder
Tag: #stability
Bug: 227029886
Test: manually kill bt process
Change-Id: Ic976a33feb5a3636ab828637faf0ba109f5948ce
Diffstat (limited to 'bluetooth/audio/aidl/default/BluetoothAudioProvider.h')
-rw-r--r-- | bluetooth/audio/aidl/default/BluetoothAudioProvider.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bluetooth/audio/aidl/default/BluetoothAudioProvider.h b/bluetooth/audio/aidl/default/BluetoothAudioProvider.h index a9f830af78..dbfff7d26c 100644 --- a/bluetooth/audio/aidl/default/BluetoothAudioProvider.h +++ b/bluetooth/audio/aidl/default/BluetoothAudioProvider.h @@ -62,6 +62,7 @@ class BluetoothAudioProvider : public BnBluetoothAudioProvider { std::unique_ptr<AudioConfiguration> audio_config_ = nullptr; SessionType session_type_; std::vector<LatencyMode> latency_modes_; + bool is_binder_died = false; }; } // namespace audio |