summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorNed Burns <pixel@google.com>2019-05-30 19:36:04 -0400
committerNed Burns <pixel@google.com>2019-05-31 17:26:05 -0400
commit9512e0c7553aac1b12b350886ec35ba796a1c4ba (patch)
treeed7be2618328949e1d18eb932e0be14061075214 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent5c9415dd1a163dca1044fd3687a692fdf38f1cba (diff)
Allow notification reordering after user adjusts importance
After the user adjusts the priority of a notification, we need to temporarily lift the VisualStabilityManager's ban on reordering to allow the priority adjustment to take effect. There's no clear signal as to when this reprieve should end -- eventually, we'll get a ranking update, but there's no way to tell that it was the update that our change triggered. So instead we just wait for 1000ms and then drop the adjustment ban again. If a few extra reorders slip in during that time, so be it. Test: atest, manual Bug: 129772718 Change-Id: Iefb6917bb41935ed6bfc720b51738c66ffa83457
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions