commit | 4248f22f18842e3216833b515e53522c353fce7d | [log] [tgz] |
---|---|---|
author | Cody Kesting <ckesting@google.com> | Wed Dec 02 12:16:56 2020 -0800 |
committer | Cody Kesting <ckesting@google.com> | Thu Dec 03 17:43:50 2020 -0800 |
tree | 27f0122e26b9f02ce32c668e1058b162a6374c6f | |
parent | 08466f6151d0b98b435704ea31af6532864444e7 [diff] |
Allow the System UID to unregister ConnDiags CBs. This CL updates ConnectivityService to allow the System's UID to unregister ConnectivityDiagnostics callbacks. Preivously, only the registrant was allowed to unregister them - this caused problems for callbacks that were attempted to be unregistered via binderDied() when the registrant app dies. Bug: 159912975 Bug: 174713659 Test: manually verified Change-Id: I20d0cad5f902708d366aa703c2893b0ea3e55052