commit | aaeaa420c2fbf19e33597515a6959f7d06220971 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Mon Sep 28 09:50:14 2020 +0000 |
committer | Mark Chien <markchien@google.com> | Wed Oct 07 17:46:29 2020 +0000 |
tree | 98320b83f45120baf88c0dd6ce4d94101ac3997f | |
parent | 9aa9ebde678c6fee6f8ae56f3918359b1ae7fbcd [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 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1435273 Change-Id: I8faacd26cc6f3e940af3a0147b84b693cb93503c Merged-In: Ic04e44aef4df772c718ff25ed331bf02f5940c1d (cherry picked from commit 4ac111af720a3d82aa52c968e419ff0115e8f436)