summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJordan Liu <jminjie@google.com>2020-01-21 10:55:08 -0800
committerJordan Liu <jminjie@google.com>2020-02-03 20:52:09 +0000
commit0e161088fdfdb830483f506cf22e03b0d73a8bb4 (patch)
tree841f06f9cf9c36eabea72a883ae03c0884341223 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent0ab00030a2ec3ffb848153718360aced093df29c (diff)
Create new context with new resources
The old implementation of this function had the unintended side effect of modifying the default configuration for the context which the caller passed in. This CL avoids that by creating a new context with the new configuration. Test: atest SubscriptionControllerTest#testGetResourcesForSubId Bug: 146481715 Change-Id: I6539817caa67e1100e50018fa0186993a1f56ccb Merged-In: I6539817caa67e1100e50018fa0186993a1f56ccb
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions