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

Skip to content
Commit 60c98515 authored by Shufeng Hou's avatar Shufeng Hou Committed by Zhao Wei Liew
Browse files

SystemUI: Fix the unlock sound played repeatedly

Sometimes keyguardDone() may be invoked from PhoneWindowManager many times
in a short time, especially when app works with FLAG_DISMISS_KEYGUARD.

Make sure the unlock sound is only played when keyguard is showing and the
screen is on.

Fixes Lineage: BUGBASH-56

Change-Id: I396588579a3be3b3210e619179d2a57211904644
CRs-Fixed: 900840
(cherry picked from commit 7c2b8a37)
parent 81336da5
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