summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPeter Kalauskas <peskal@google.com>2020-03-09 18:55:04 -0700
committerPeter Kalauskas <peskal@google.com>2020-03-11 14:40:52 -0700
commitc3cc8b9e3a755cb53450f622d561887590f380b7 (patch)
tree57b6ddc10739296d6720b67a960935e0b374e51f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent093ba7e506eee4f78a6ce39d3ad82c7aac914ac2 (diff)
Remove unused setter
setEnableLowResSnapshots was only added for testing, but it is unused because we are using a Resource mock to override the value. This is a better way to test the feature because it ensures expected behavior of the config overlay. In addition: remove duplicate test, fix comments for test, and add new assertions. Also, removed setIsLowResolution in test Builder class to reflect ActivityManager.TaskSnapshot.Builder. Test: TaskSnapshotCacheTest Test: TaskSnapshotControllerTest Test: TaskSnapshotPersisterLoaderTest Test: TaskSnapshotSurfaceTest Bug: 142063079 Change-Id: I83a9503a2f75490e5cf80bdc93041208c4897c6e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions