History log of /frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
705442fa7dcbf1bf92595fdaca6cc888810931d8 14-Sep-2016 Selim Cinek <cinek@google.com> Added Emergency affordance feature

Added a service that listens whether emergency affordances
are necessary.

If the they are needed, it adds an option to the
global actions dialog that directly launches the
emergency call and also adds a long-press listener
to the keyguard emergency button.

Test: adb shell settings put global force_emergency_affordance 1 && adb shell settings put global emergency_affordance_number 111112
Fixes: 30404490
Change-Id: Ib96a15da2ef4b568a8d77140ebca6aa6f20f5ddb
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
7dac366a7f72e3d3f0c7e26616ec0ee55efe1fcd 27-May-2016 Hall Liu <hallliu@google.com> Disable app pinning when emergency call button pressed

Also disables app pinning when the "return to call" button is pressed
and brings up the in-call screen when app pinning is stopped if there is
an existing call.

Bug: 28558307
Change-Id: I7672123bfa6ba6b5e960bd5166876c50425d3f76
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
f6e9228b8a97603d3ceb8f0d61e8d87cf19bd21f 27-Jan-2016 Chris Wren <cwren@android.com> move framework metrics over to new proto

Change-Id: Ie46e946dc787350c15c10aa4385a6b7df7e181a8
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
de0a21f4360280b40598e877b01dda8a0363a527 05-Jun-2015 Chris Wren <cwren@android.com> instrument emergency call button

Bug: 21527672
Change-Id: I1cc8ace204e16964ae2a251152f36133e6d02932
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
b5947e01270c5042f6050908e1582961fea3c325 15-May-2015 Adrian Roos <roosa@google.com> Prevent EmergencyDialer restart from Keyguard

Fixes a flicker caused by clearing the emergency
dialer task when it was already launched. Instead
we now only clear activities on top of the dialer.

Bug: 20728640
Change-Id: I8a1214c4726e4848587a81e9050a6ab63759b64f
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
76511c75e67c2da778066dac829c6161b5e96003 05-May-2015 Jorim Jaggi <jjaggi@google.com> Update emergency call button label when language changes

Bug: 17987231
Change-Id: I74fe6942f4ff965537803d61f3446d5f28a60f9e
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
d6aa6cb0cc8c70a30434048e25e14643b1645755 17-Apr-2015 Adrian Roos <roosa@google.com> Remove LockPatternUtils.getCurrentUser()

Bug: 18931518
Change-Id: I177eefe466c12217cf64c85b872f71bc23c7bf05
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
8150d2a2a12b38598fd55d8ae3c3b5662ec3520f 17-Apr-2015 Adrian Roos <roosa@google.com> Require explicit userId in LockPatternUtils

Bug: 18931518
Change-Id: Ib03f37df9135f0324a998c62d165d8eea46328c8
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
0ab5742cf725654a7ce0e020dbea4c1d9bf7a2f7 20-Apr-2015 Adrian Roos <roosa@google.com> Clear emergency dialer task on launch

Bug: 20344056
Change-Id: Ic26f003acad3f9f91d772e5b4be8bd4b8aff5ec8
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
8d75c14d0c8881c7b97f2be86870d323d4454ec8 24-Mar-2015 Adrian Roos <roosa@google.com> Explicitly specify package in EmergencyButton

Change-Id: I0c64195e748ef926ae87db21663c86eab38c38b8
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
c2e01683b34029729262e2fb346ceea4bfe4b4b6 15-Jan-2015 Adrian Roos <roosa@google.com> Remove UI code from LockPatternUtils

Bug: 18931518
Change-Id: I951166f675731ec7a2bc51585e0a51e0cd92611d
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
72b46d429cbab54af962c25ffe087c5f927f7340 30-Jan-2015 Andrew Lee <anwlee@google.com> Reset keyguard/bouncer on "return to call".

+ Add callback, to be invoked when EmergencyButton is clicked when
inside a call.
+ Route callback to the KeyguardViewMediator, to invoke
resetStateLocked() to reset the bouncer.

Bug: 18977746
Change-Id: I4733ccfb6809c4610184a33a28ba38ecf255231f
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
52a6133f4ba8b1d08f5158d802790d6a1b16568d 13-Nov-2014 Jim Miller <jaggies@google.com> Add multi-sim support to keyguard

Use new telephony APIs.
Clean up SIM state machine code.
Use cached copy of SubscriptionInfo.
Make SIM PIN and SIM PUK work.

Tested on single and multi-SIM devices.

Fixes bug 18147652

Change-Id: Ic69a4d2898999a5438e6a70b5851705bc05443f1
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
cc5179f0e3725a5f3c140fc57d719e18b7aa104f 04-Sep-2014 Yorke Lee <yorkelee@google.com> Use TelecommManager APIs to detect if we are in a call

Bug: 17335666
Change-Id: I5f443c76041e51a2eca903db924fb26031dde055
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
0bae09fdde0905e24f6c3079d9e01c669d046289 07-Jul-2014 Santos Cordon <santoscordon@google.com> Move showCallScreen & isInAPhoneCall to PhoneManager.

Change-Id: I852da78ae80eba120932fb7acb1e5c3db2a8f18a
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
5cf17879a31b7b78c09ec50b727f921840dcf783 26-Mar-2014 Jorim Jaggi <jjaggi@google.com> Reuse KeyguardViewMediator for new Keyguard implementation.

This change reuses KeyguardViewMediator for the new Keyguard
implementation in status bar. KeyguardViewManager is replaced by
StatusBarKeyguardManager which handles adding the view, setting the
state etc. StatusBarWindowManager is introduced to managed the window
of the status bar, which has the logic of both the old Keyguard window
and the old status bar window. In the current implementation, Keyguard
gets displayed like it would be in the bouncer state, but that's likely
to change in the future. Also, setHidden in IKeyguardService is also
renamed to setOccluded, as the word hidden interferes with the
terminology when dismissing the Keyguard.

Bug: 13635952
Change-Id: I1c5d5a49d810d8532089f464cb2efe35e577f517
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
e38c8e28ba50d5fe7f4f2bc5fe68a9f10bafe0f0 25-Sep-2013 Jim Miller <jaggies@google.com> Fix accessibility for all-caps items in keyguard

This fixes a bug where TTS on all-caps items doesn't work for
Buttons. The fix is to use translation (ala. TextView.setAllCaps()),
which just affects rendering and not the original text string.

Fix bug 10912259

Change-Id: Id8cba927819c979fe699353219d45f8b0f9f5aac
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
7fce38021694925295f5d14bfba71f28cba19404 17-Sep-2013 Brian Colonna <bcolonna@google.com> Fix 10550373: Stopping FUL when emergency dialer opens

Face Unlock wasn't being stopped when the emergency dialer opened,
causing FUL to flash briefly after the emergency dialer appeared.
This was most noticeable on Hammerhead devices.

This change allows EmergencyButton to stop FUL by way of
KeyguardUpdateMonitor. Note that it must stop FUL immediately rather
than going through a handler. If going through a handler FUL is not
stopped in time to prevent the issue.

Change-Id: I3985969a19e909e2633d7876a3fb2d34c70e2cc1
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
aa2e84f29b57314f57cae09de94e49bc6cfa77ef 14-Mar-2013 Jim Miller <jaggies@google.com> am 3fe0205a: am 6d4dac74: Merge "Fix bug where Keyguard\'s emergencydialer wasn\'t being launched with a userid." into jb-mr2-dev

* commit '3fe0205a00672ccc86f7ca3fc8980fc380891fce':
Fix bug where Keyguard's emergencydialer wasn't being launched with a userid.
5ecd81154fa039961f65bb4e36d18ac555b0d1d6 10-Jan-2013 Jim Miller <jaggies@google.com> Move keyguard to its own process.

This is in preparation to moving keyguard into its own process.

Moved keyguard source and resources into new .apk.

Got basic test app working. Still need to implement MockPatternUtils
and means to pass it into KeyguardService with local binder interface.

Added new ACCESS_KEYGUARD_SECURE_STORAGE permission.

Temporarily disabled USER_PRESENT broadcast.

Remove unintentional whitespace changes in PhoneWindowManager, etc.

Checkpoint basic working version.

Move to systemui process.

Synchronize with TOT.

Sync with recent user API changes.

Fix bug with returing interface instead of stub for IKeyguardResult. Create KeyguardServiceDelegate to allow
for runtime-selectable local or remote interface.

More keyguard crash robustness.

Keyguard crash recovery working. Currently fails safe (locked).

Fix selector view which was still using frameworks resources.

Remove more references to internal framework variables. Use aliases for those we should move but
currently have dependencies.

Allow runtime switching between service and local mode.

Fix layout issue on tablets where orientation was reading the incorrect constant
from the framework. Remove more framework dependencies.

Fix PIN keyboard input.

Remove unnecessary copy of orientation attrs.

Remove unused user selector widget and attempt to get multi user working again.

Fix multi-user avatar icon by grabbing it from UserManager rather than directly since
keyguard can no longer read it.

Merge with AppWidget userId changes in master.

Change-Id: I254d6fc6423ae40f6d7fef50aead4caa701e5ad2
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java
25a272a9f6323f6a3513bb522d45e839449878ce 10-Jan-2013 Jim Miller <jaggies@google.com> Move keyguard source and resources into new package

This is part 1 of two commits. This commit moves all keyguard
source and resources to a new com.android.keyguard package.
The second part of this change applies an overlay that makes
it work.

Change-Id: I360e9ac7783c6cb289c992733818b9535df185b9
/frameworks/base/packages/Keyguard/src/com/android/keyguard/EmergencyButton.java