commit | 70fa2b2c27fbbc10d94acc5d1256fe991c51bedd | [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 | 68dee0aa1366e4baf9852f93c04516a07ac0d2b1 | |
parent | 7d013abf65b7a0ab01188bd0e13165ab642c2316 [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