commit | de20bb0e3934351507bc1060a9d31c0edf87bc1b | [log] [tgz] |
---|---|---|
author | markchien <markchien@google.com> | Thu Sep 24 09:50:55 2020 +0800 |
committer | markchien <markchien@google.com> | Thu Sep 24 10:11:51 2020 +0800 |
tree | 8093017c18f9fec80e14b5154c9d8865a5bca542 | |
parent | 90b0d3f83e4b4f3081f40f87ff628251b71aa4ce [diff] |
Fix TetheredClient callback fail in InProcessTethering TetheredClient callback would additional check whether caller has NETWORK_SETTINGS or {MAINLINE_}NETWORK_STACK permission, but it do not grant for self accessing. InProcessTethering run in system server, so the services in system server would fail to call TetheredClient callback. Grant permission for self process. Bug: 169231588 Test: atest CtsTetheringTest Change-Id: Ic04e44aef4df772c718ff25ed331bf02f5940c1d