summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authormarkchien <markchien@google.com>2020-06-03 12:27:37 +0800
committermarkchien <markchien@google.com>2020-06-16 19:06:34 +0800
commit0ed433e4cdd95a4cef5785f20966ff5c8d6ed6d9 (patch)
tree90af7899563172ba50151081c4245fc64c367c69 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentec09667201f143435a329c8fceb16870350cd092 (diff)
Protect invalid entitlement app configuration
There is a protection in Settings that Settings would gray out if tethering requires entitlement check but the entitlement app is invalid. Tethering resource is moved from framework to tethering module, so Settings can not fetch entitlement app name anymore. In this change, tethering module would check whether entitltement app package name is exsited if entitlement check is needed. Tethering would be not supported (Settings tethering option would be hidded) if entitlement app is not installed. After moving the protection into tethering module, TetherUtil#isProvisioningNeeded is no longer needed. Because The only use case is Settings wants to gray out tethering setting when entitltement check is needed but entitlement app is invalid. Bug: 146918263 Test: atest TetheringCoverageTests Change-Id: I9a5ff5dbc1db3f3be7fcd7146862a16b373507e6
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions