commit | 0f8e8110b10bc287d54fd608cae65a0b62eb8346 | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Mon Aug 23 17:32:23 2021 -0700 |
committer | George Burgess IV <gbiv@google.com> | Mon Aug 23 17:32:23 2021 -0700 |
tree | 22e0936ddbe5e78f23bab1be7de44593ab0ce47f | |
parent | 7058a51deba047b30044e42992ffb31628591951 [diff] |
BootAnimation: remove superfluous null check for `mAnimation` The null check added in I603da080b1732a436a10dbaca6f2be9f158124dc makes our static analyzer suspect that the call to `playAnimation(*mAnimation)` dereferences null. The beginning of this function establishes a non-null value for `mAnimation`, which is used unconditionally throughout the function. Hence, this condition seems unnecessary. Bug: None Test: TreeHugger Change-Id: I0575df17df7f7e3018d99cafd9dcfcd3c10e5fbc