diff options
| author | Your Name <jacobhobbie@google.com> | 2022-02-28 01:08:12 +0000 |
|---|---|---|
| committer | Your Name <jacobhobbie@google.com> | 2022-02-28 01:10:57 +0000 |
| commit | 00b540e1443acbaa5cda1a263106ace24339f8ac (patch) | |
| tree | 8b22a0129a64a5e811a91be04bca72d1c779b013 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | d0cb324a9cae69ebef63c24a8d173b9aae8256d7 (diff) | |
Unregister receiver when destroying TrustAgentWrapper.
Make sure to unregister the receiver when TrustAgentWrapper gets
detroyed. This will prevent over registering for the receiver and a
potential crash if too many recievers are created. The unregistering and
registering of this receiver now take place in the same location as the
other receiver in the class.
Fixes: 221506550
Test: Trivial
Change-Id: Icfd12949d9edb2fa6fbb052db35c16f950328c9a
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
