commit | e68c42b8887028468cfde97e0b670ce97000fa9d | [log] [tgz] |
---|---|---|
author | Junyu Lai <junyulai@google.com> | Tue Apr 11 10:49:49 2023 +0800 |
committer | Junyu Lai <junyulai@google.com> | Tue Apr 11 14:56:15 2023 +0800 |
tree | b3599d2d6d3e0513c58ef57da2e9beccf959b3d4 | |
parent | 4c6fe239fe1f0ea0f00d31202e25786f10df1ca7 [diff] |
Check MAINLINE_NETWORK_STACK as well to make GTS can access proper stats Follow up from aosp/1933093. The test failed because certain devices use a flattened apex that lacks the NETWORK_STACK permission for sharing with the GTS apk. Additionally, the NetworkStatsAccess does not recognize the GTS apk, which holds the MAINLINE_NETWORK_STACK permission. Test: TH Bug: 275532605 Change-Id: Icce80a3d3dbea4a84fbd369d9b5fbe0029ab463e