summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPavel Grafov <pgrafov@google.com>2020-05-11 16:58:58 +0100
committerPavel Grafov <pgrafov@google.com>2020-05-11 17:09:14 +0100
commit3b4aa554ac89be21686f2c5a869d6ca04804fdae (patch)
tree5467bbe57303c4d905db78ae2c425ab53c11cd22 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent83dd0adecb9c7ae6ae4e0747e6dd75d86334a13f (diff)
Make getPersonalAppsSuspensionReasons more robust.
* Make sure that if the time is rolled back after the deadline has been reached, it is not undone. When the deadline is reached it is set to -1 which is far in the past, so timezone change won't affect it. * Return sensible value in case when the deadline has just expired and the suspension itself hasn't been enacted. Previously the deadline expiration wouldn't be reflected until mAppsSuspended gets updated after all apps are suspended. * Update deadline on time changes. This makes it react to time changes via adb. * Additional debug logging to investigate further if the issue persists. Bug: 155878352 Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest Change-Id: I6549f76584121df200ace811285e7a358f262869
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions