Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d980f59 authored by Yi Jiang's avatar Yi Jiang
Browse files

Add null checks for background color layer

The bgColorLayer pointer is lack of necessary null check, which could
potentially cause null pointer dereference.

Also added some annotations for the nested if-else statements.

Flag: EXEMPT refactor
Bug: 414341229
Test: presubmit tests

Change-Id: Iaaeb289d8f23090ac62111a10545fca9cb8291cd
parent ef9f0459
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment