summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorSalvador Martinez <dehboxturtle@google.com>2019-02-21 16:16:28 -0800
committerSalvador Martinez <dehboxturtle@google.com>2019-03-04 17:10:18 -0800
commit4387bd529747d9f4c5c0d74aad70878ede82521d (patch)
tree6d49f78b9931f451bbae5072c77124110baa7d24 /rs/java/android/renderscript/ProgramStore.java
parent6ce9003ef0c28c3ea9de43550dfa36e3d067c1d5 (diff)
Refactor battery warning code to make it easier to read
Currently the logic for the hybrid warning and the legacy warning is all mixed together and it makes it hard to understand what is going on. This CL seperates that logic and also adds a immutable data type to be used when evaluating whether a warning should be shown rather than checking global variables. Test: sysUI tests pass Bug: 126149098 Change-Id: I3a781a4361b0d6a7e8a09e454fcf89a99c3fa175
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions