summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/keyguard/EmergencyButtonController.java
AgeCommit message (Collapse)Author
2022-02-17SystemUI: Remove location permissionWeijie Wang
Remove location permission to comply with MBA pregrant permission policy. Change-Id: I00f8a9b632446c5cb31ca948666c7f148ffd1470 CRs-Fixed: 3126786
2021-07-14Merge SP1A.210709.002Haamed Gheibi
Change-Id: I4610885d5d770d858895057cdd9fea387a5e33dd
2021-07-01Don't fire pending remote input when is phone locked.Dave Mankoff
If an owner clicks "reply" on a locked device but doesn't actually unlock their device, we shouldn't attempt to satisfy the reply request. Check to ensure that the device is actually unlocked before replying. Also, if they click "emergency call", hide the shade before showing the dialer, otherwise the shade can be left visible over the top of the dialer. Fixes: 191551623 Test: manual Change-Id: Ie9e5127e19e222dcfa3c34b57aec1bc8074f5674
2021-06-03SystemUI: Handle telephony exception during bootupWeijie Wang
TelephonyManager.requestCellInfoUpdate will throw an exception while telephony service not available, which will cause SystemUI to fail to launch, so catch the exception to avoid the failing. Change-Id: I138605730db2685697d216d793aeaa41a0dd8aa2 CRs-Fixed: 2956670
2021-05-10SystemUI: Fix emergency call button no response issueWeijie Wang
The control logic of emergency call button is changed, which leads to the emergency call button on the lock screen doesn't work. Rework the emergency call button on the lock screen to adapt the new control logic Change-Id: I8994f86f1df912cf193d7ed706e554b27805cf40 CRs-Fixed: 2928133
2021-04-02Merge SP1A.210329.001Scott Lobdell
Change-Id: I1e21c5890b5b2e2f2855f09960bc8eec8aa922bf
2021-03-23Revert^2 "Add Controller for Emergency Button."Dave Mankoff
f23acf33ff3684586b7dc66026b518ada77eed84 Change-Id: Id555c35af9a5ed2570504cd6b4e3ca3b5892c340
2021-02-18Revert "Add Controller for Emergency Button."Alec Mouri
Revert submission 13536242-b179775696-depenency-get-keyguard Reason for revert: Candidate reversion for broken tests: b/180440298 Reverted Changes: I6d0271692:Add ViewController to CarrierText. I4d9a4a21f:Add Controller for Emergency Button. I4c76d99f9:Remove Dependency.get from KeyguardSliceTextView. I730593fcf:Add injection to ClockProvider. Ifbb93e624:Remove Dependency.get from KeyguardStatusView. I237215456:Remove final calls to Dependency.get from keyguard... Change-Id: I7b46dbad24050cfe6a363131549169602fda1f13
2021-02-16Add Controller for Emergency Button.Dave Mankoff
This removes all the calls to Dependency.get from EmergencyButton. Bug: 179775696 Test: atest SystemUITests && manual Change-Id: I4d9a4a21fe8a8a0306b110a2fbaaa3ea91507d05