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 4ac111af)
Loading
Please register or sign in to comment