diff options
author | Rubin Xu <rubinxu@google.com> | 2018-03-07 11:32:32 +0000 |
---|---|---|
committer | Rubin Xu <rubinxu@google.com> | 2018-03-08 15:26:18 +0000 |
commit | 404efc93ae2caeafe613e1127f64ff393433f06a (patch) | |
tree | 61d76f3fe47fb77ea83fac143df90d2502e9d9dd /rs/java/android/renderscript/RenderScript.java | |
parent | be1033fda24a7c1ba9ef3ca590da30be56acc6d2 (diff) |
Calculate timestamp using local time zone in system update unit tests
Replace hardcoded timestamp for test dates with values calculated
from local time zone, because the SystemUpdatePolicy API assumes
dates and timestamps are in local time zone. Also tweak test dates
to avoid daylight saving time boundaries.
Bug: 74335646
Test: runtest frameworks-services -c com.android.server.devicepolicy.SystemUpdatePolicyTest
Change-Id: I532cd485a8ddd8b2a652fa90dee0deb932954662
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions