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

Skip to content
Commit 5bdb133c authored by kaiyiz's avatar kaiyiz
Browse files

SystemUI: Fix system ui crash while continuously click flash light tile issue

In FlashlightController, after set mSession/mSurface null in teardown(),
mSession is reassigned in callback of mSessionListener.onConfigured().
This will lead to no Surface object for mSession.

Don't reassigned mSession when mSurface is already set null.

CRs-Fixed: 750124

Change-Id: I1c4214cc4b58375e82740853c5aff9b68530f816
parent 4ac8d879
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