summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Eric Rahm <erahm@google.com> 2023-05-24 18:32:21 -0700
committer Eric Rahm <erahm@google.com> 2023-05-27 00:14:17 +0000
commit37f58660a199f6e51ce9f71bda43b69dcdeb0735 (patch)
tree1d5faaef530bbdf9dba9dbd292e103bfe198a5ef /libs/androidfw/ObbFile.cpp
parent32f42bf93b53a98dc84de51f1c706ac0cae02375 (diff)
Workaround a robelectric related NPE in SurfaceSyncGroup.addTimer
Robolectric mocks out `HandlerThread` in such a way that in certain instances `HandlerThread.getLooper` returns null. Since adding the null check is small enough, we can opt to make this change to allow robolectric tests to run. Test: atest ClockworkSettingsRobotests Bug: 237804605 Change-Id: Ib28f80413265a770cfac44cf451714f1b66dfbc8
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions