summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Lee Shombert <shombert@google.com> 2024-10-03 12:36:44 -0700
committer Lee Shombert <shombert@google.com> 2024-10-03 12:36:44 -0700
commitaa381d3b4800b5e004afb3d7dfbb5819ca175d6c (patch)
tree4253135eefaef26239e5d9aa966fef84cd933c93 /cmds/bootanimation/BootAnimation.cpp
parentf5df21d070e1101d0fcbc0937d39e0f2c816ad3a (diff)
Correct an ApplicationSharedMemory unit test
The test `ApplicationSharedMemory.canRead()` verifies that the network time can be read from shared memory. The read will throw if the time is not initialized, either because there is no time source or because the feature that writes to shared memory is disabled. This change accepts the particular `DateTimeException`. Note that an exception is thrown only if the memory was actually read, which means the test passed. Flag: EXEMPT test-only Bug: 365575551 Test: atest * ApplicationSharedMemoryTest32 Change-Id: I455cb5b6e8b8a04557929495dfda8979f9da8e89
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions