commit | 7563860ad97e80e96034e370b375c7f249a0b831 | [log] [tgz] |
---|---|---|
author | Tyler Gunn <tgunn@google.com> | Thu Mar 29 13:48:29 2018 -0700 |
committer | Tyler Gunn <tgunn@google.com> | Thu Mar 29 13:48:29 2018 -0700 |
tree | 83d125de4dcaa076083b60db744c206752f46e5d | |
parent | 4af6628c25e52d5ae93471f56c636dad4db78c03 [diff] |
Fix issue where EmergencyDialer is slow to open in some cases. Per recommendations by framework team, using setShowWhenLocked instead of the window flag. In onPause, removing the ToneGenerator teardown. This was a source of long pauses during the activity lifecycle. We now initialize it only in onCreate and tear it down in onDestroy. Bug: 76058395 Test: Manually reproduced user switching issue; confirmed it is fixed Change-Id: I0bd63a9c7138ab9450861293cbd438105c33eb06