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

Commit cb1f6e6d authored by Jeremy Sim's avatar Jeremy Sim
Browse files

Add null check to prevent crashes when logging

Changes instances of mSplitLayout.isLeftRightSplit() to use a version that has a null check.

This will prevent crashes when logging, but notably we will now log "false" in instances where SplitLayout is null, instead of crashing. I think this is probably an improvement, but maybe the logging system should be updated to take a non-boolean value so we can correctly log the edge case where SplitLayout is null.

Fixes: 407635924
Flag: EXEMPT bugfix
Test: EXEMPT logging changes only
Change-Id: I7e1a280a8f603cc2e5cab798bdda56167a9d7362
parent e8f29edb
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