summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimationUtil.cpp
diff options
context:
space:
mode:
author JW Wang <wangchun@google.com> 2021-03-30 11:25:22 +0800
committer JW Wang <wangchun@google.com> 2021-03-30 11:27:48 +0800
commit02913eb3d42d79c07bac04be79c543f3ffceb11b (patch)
tree15bca2e2fce3eec2fd94f8195428b18e4322d1e4 /cmds/bootanimation/BootAnimationUtil.cpp
parenta8e90c7cbc83023a0b706d9f452b0eea72ec7e76 (diff)
Fix an NPE
A regression of ag/13066961. 'session' might be null inside the if block. Use rollback.getStagedSessionId() to get the session ID instead. Bug: 181087240 Test: manual test Change-Id: Ie8bc2b451e5a1e5fd6fececccda7a3622c33a235
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions