summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorlucaslin <lucaslin@google.com>2020-03-12 12:58:29 +0800
committerLucas Lin <lucaslin@google.com>2020-03-13 02:22:06 +0000
commit597644f06982737c14f63b546f7642310d726f3c (patch)
treed78393a7db2e1b609ea82922800e46b7427c3c31 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent11fcab68b770e033f9c00d3a437c33ffb35a52ce (diff)
Add enforceNetworkStackOrProfileOrDeviceOwner()
Add enforceNetworkStackOrProfileOrDeviceOwner() to check if the caller has PERMISSION_MAINLINE_NETWORK_STACK or not. Call this check in isAlwaysOnVpnLockdownEnabled() for allowing the caller which has PERMISSION_MAINLINE_NETWORK_STACK to get the status of always-on VPN. Bug: 141621373 Test: 1. Build pass 2. Manual test to see if CaptivePortalLoginActivity could deal with the issue properly. Change-Id: I3b7ddc2543e6b4754d6eaac128ca9a8ccea6b59c Merged-In: I3b7ddc2543e6b4754d6eaac128ca9a8ccea6b59c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions