summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2017-12-14 17:50:03 -0800
committerAmith Yamasani <yamasani@google.com>2018-01-04 09:37:13 -0800
commit761d3ff06c74a4da50a395f6269ea8b81d60f51f (patch)
tree3fe7479d47f3bfa71dd6f8a1ed53edcc8ac35f15 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentdc4cb146315240441fc8d9c05fe8dd63370a7c57 (diff)
Duration format for tunable settings
For JobScheduler, DeviceIdle and AppStandby constants, allow using a more compact format than milliseconds, which are a PITA to calculate. So instead of 18640000000... whatever, you can use PT2H (for 2 hours), or P2D (for 2 days), etc. Uses Duration.parse() to do the parsing. See Duration for format. Test: adb shell settings put global app_standby_constants screen_thresholds=0/PT2H/PT12H/P2D Fixes: 71554131 Change-Id: I5141854ec7df6de266725a67f1f3e2a6e0b4c1c1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions