diff options
author | James Mattis <jmattis@google.com> | 2021-03-31 13:57:52 -0700 |
---|---|---|
committer | Daniel Norman <danielnorman@google.com> | 2021-04-07 09:59:32 -0700 |
commit | 4b20f295914e4c6a46c98f0d924d260081b0227d (patch) | |
tree | 3287b9e57e1a5c0cfb6a3b58421f286f87d91c52 /core/jni/AndroidRuntime.cpp | |
parent | 36fb454ac52c27a8a0ba95aaa4085709e7e5e628 (diff) |
Calling linkToDeath on binder in NRI constructor
Any NRI constructor that can possibly have a binder should call
linkToDeath on that binder if present. Not doing so can result in a
no such element exception when that NRI is removed.
Bug: 184155022
Test: atest FrameworksNetTests
atest FrameworksNetIntegrationTests
atest CtsNetTestCasesLatestSdk
Change-Id: I90d594e43474483c554d0d315ff7abb6f678e093
(cherry picked from commit 088550048864aa836e9411acc28ae8f8fed28a03)
Diffstat (limited to 'core/jni/AndroidRuntime.cpp')
0 files changed, 0 insertions, 0 deletions