summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorSudheer Shanka <sudheersai@google.com>2021-10-05 16:42:17 -0700
committerSudheer Shanka <sudheersai@google.com>2021-10-14 19:21:51 +0000
commite9982844df26b25f630716209ddd7b48cfd80dfb (patch)
treec5757f976822de4c99889e173482e10250d6e764 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentdc8a13d6626f3f51ba3d65fa1b27c712b06f967a (diff)
Fix an issue in NPMS blockedReasons computation logic.
If an app does not have the permission to access network in Restricted mode, we should be removing ALLOWED_REASON_RESTRICTED_MODE_PERMISSIONS from the uid's allowedReasons but right now, we end up removing all the allowedReasons except ALLOWED_REASON_RESTRICTED_MODE_PERMISSIONS and this could result in sending wrong network state to apps. Bug: 202213533 Test: atest tests/cts/hostside/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java Change-Id: Ibcae147bf4ba84ff91ef7038ffef8c33082b82ca Merged-In: Ibcae147bf4ba84ff91ef7038ffef8c33082b82ca (cherry picked from commit 259414efbc207e5e8c4299f39a3c48580e3221df)
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions