commit | 8c62efacd6864af148878b45bf846997983f4a94 | [log] [tgz] |
---|---|---|
author | Shufeng Hou <shou@codeaurora.org> | Thu Dec 17 17:25:54 2015 +0800 |
committer | Michael Bestas <mkbestas@lineageos.org> | Sun Sep 25 21:36:53 2022 +0300 |
tree | 71100dae73c1fb58f533541a683ad79096eae6ce | |
parent | cabf3f9f31a054a86f27f99395914cc521bc738d [diff] |
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