Skip to content
Snippets Groups Projects
Commit 741ed0b4 authored by Chirayu Desai's avatar Chirayu Desai Committed by Dhina17
Browse files

Revert "Stop reading UIDS_ALLOWED_ON_RESTRICTED_NETWORKS setting in PermissionMonitor"

This reverts commit ed2a84a6f0ce004821c4a4889aee917aa123d74a.

Reason for revert: No longer needed after
I78ff47624e520f9a3fe492165544d93edbbe814d

Change-Id: I7b886c83e767e0aab52227ccee4944a3b40964da
parent 2022fa94
No related branches found
No related tags found
No related merge requests found
......@@ -526,6 +526,7 @@ public class PermissionMonitor {
// TODO : remove carryover package check in the future(b/31479477). All apps should just
// request the appropriate permission for their use case since android Q.
return isCarryoverPackage(app.applicationInfo)
|| isUidAllowedOnRestrictedNetworks(app.applicationInfo)
|| hasPermission(app, PERMISSION_MAINLINE_NETWORK_STACK)
|| hasPermission(app, NETWORK_STACK)
|| hasPermission(app, CONNECTIVITY_USE_RESTRICTED_NETWORKS);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment