Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc195990 authored by Yu-Ting Tseng's avatar Yu-Ting Tseng Committed by Android Build Coastguard Worker
Browse files

Call decStrongHandle last in BpBinder::onLastStrongRef

Move the decStrongHandle call to later in the function, after
removeFrozenStateChangeCallback. This ensures that the handle is still
valid at the time of removeFrozenStateChangeCallback.

Flag: build.RELEASE_LIBBINDER_BPBINDER_DECSTRONG_LAST
Test: atest binderLibTest
Bug: 443056917
Bug: 445041170
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:98d140121fc515f05970ea3bf9f361e18017b634
Merged-In: I9ed65c406f7284123545070f6df88ca941855a77
Change-Id: I9ed65c406f7284123545070f6df88ca941855a77
parent 77b890aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment