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

Skip to content
Commit 0037d773 authored by Riley Jones's avatar Riley Jones
Browse files

A11yMenuService unregisters displayListener

The DisplayListener wasn't being unregistered properly,
which seems to have led to cases in which
it can be called while mA11yMenuLayout is null,
causing a crash.

This change unregisteres the listener properly,
and does a safety null check as well.

(This change also fixes the indentation level of the listener)

Test: N/A
Flag: EXEMPT small internal change
Bug: 346305743
Change-Id: Ic89bbf91f0d615898b7c96a6bb38b5673da40eed
parent fe04c2b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment