summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/CryptKeeper.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove back button entirely when disabledVikram Aggarwal2012-11-091-10/+30
| | | | | Bug: 7480506 Encryption screen shows back button Change-Id: Iba2706fd6b61303178b472071f32d65bdf72e50d
* Remove further loggingVikram Aggarwal2012-10-081-1/+0
| | | | | | Bug: 7302014 CryptKeeper logs PII data Change-Id: Ifb18c428c70e97f28ceeced2fa0aa6e9247a5372
* Remove verbose loggingVikram Aggarwal2012-10-081-2/+0
| | | | | | Bug: 7302014 CryptKeeper logs PII data Change-Id: I4dec3a827a5b6880b1c0995b8adebf34315c4773
* Update Settings app to use new namespace for airplane-mode settingsChristopher Tate2012-09-101-2/+3
| | | | | | Bug 7132230 Change-Id: I0253637e6d464afc229cf11ffe69852bf44fe261
* Use telephony-commonWink Saville2012-07-111-1/+2
| | | | Change-Id: Ic95136fd5934afdd53a08bfd640d40add67fdb44
* Show keyboard selectively, do not listen on MCC/MNC changes, show text to user.Vikram Aggarwal2012-05-221-5/+1
| | | | | | | | | | Fix b/6531158 (Stop showing the keyboard) Fix b/6532201 (Stop removing the text view, and prompt the user with a message) Fix b/6155075 (Stop listening to MCC/MNC changes) Change-Id: Ibf8414fe57bdd0acf6c20f3194c52b168b9292c6
* Delay audio notification on user interactionVikram Aggarwal2012-05-081-5/+55
| | | | | | Fix the eng pieces of bug 6445429. Change-Id: I1963d2e701e4b4639cdc75cc3161668d0601747d
* Write the airplane setting in addition to sending the Intent.Vikram Aggarwal2012-05-041-0/+2
| | | | | | | | dab was right. :) Fix b/6006192 in association with https://android-git.corp.google.com/g/187160 Change-Id: I3edfb3191ab35a4e5de1b18f3e2e1dae5f882354
* Merge "Go into airplane mode in minimal boot mode." into jb-devVikram Aggarwal2012-05-041-0/+28
|\
| * Go into airplane mode in minimal boot mode.Vikram Aggarwal2012-05-041-0/+28
| | | | | | | | | | | | Fix b/6006192 Change-Id: Ied4d9b51aac4e8ac1d2114aa1e95d4ebbe93413b
* | UI fixes for tabletsVikram Aggarwal2012-05-031-0/+10
|/ | | | | | | | | 1. Center the clock on Xoom and large tablets. Fix b/5579000 2. Correctly remove the emergency call button if the device (*cough* Nakasi *cough*) does not have telephone capability. Change-Id: Ib7552dc35392a1b9d6c0381c6167949e2b163ddc
* Notification alert every 5s and start after 30s.Vikram Aggarwal2012-05-021-6/+5
| | | | | | | | | | | Justification: Most users will not need prompting, so for them a notification will be an annoyance. So we only notify if the no password has been entered for 30 seconds. Once a notification sound is made, we need to make it frequently so the user can locate the device. Change-Id: Ibf531aec89b5e3b3c72eaa36016bcc4cac1d6493
* Notify user when waiting for decryption passwordVikram Aggarwal2012-05-011-27/+102
| | | | | | | | | 1. Disable back presses from physical keyboard during encryption: Fix b/6139810 2. Keep screen on when waiting for password. Fix b/6153213 and b/6149606 3. Alert the user with sound when waiting for password. Fix b/6149606 4. Add debugging feature to display the password screen without having to reboot the device. Change-Id: I588aa7d96e1140f95a6fa91e0281117907f666f7
* Enable back in CryptKeeperVikram Aggarwal2012-05-011-3/+3
| | | | | | Fix b/6280906 Change-Id: I38d75c4b4c928c77c20bf8eca2649bf6eaa95507
* Fix crash due to lost activity.Vikram Aggarwal2012-04-021-1/+1
| | | | Change-Id: I9d0c2941bf3d725c506b15a738e6ab41678d76d1
* Minor changes to improve CryptKeeper readabilityVikram Aggarwal2012-03-301-51/+52
| | | | Change-Id: I8a056216edf7f557c32bdec9387b0d31de7aa6c6
* Work on issue #5461497: Landed on Welcome screen after a tap on 'Next' in ↵Dianne Hackborn2011-10-181-7/+3
| | | | | | | | | | Screen 500 With the corresponding change for the activity manager to allow the home activity to finish itself, this activity can now be a little less dirty and just call finish() when it finds it is not needed. Change-Id: I1a449c7bec9fba659e27a9e918f8a9b0c55b2098
* Fix issue #5460725: Crespo does not fully boot after a wipeDianne Hackborn2011-10-161-1/+14
| | | | | | | | Add a hack to relaunch whatever was supposed to be launched (presumably home) when CryptKeeper discovers it shouldn't be running. Change-Id: I1406b8d6e8d484ed1c169fa4908a9e05e8c7c2ad
* Use new status bar disable flags.Daniel Sandler2011-10-121-1/+2
| | | | | | | Requires frameworks/base change I04eb2245. Bug: 5380495 Change-Id: Ia9e5c25e224b38c1cdad4cd725fc425de90f8344
* Properly initialize wakelock for cryptkeeper.Ben Komalo2011-09-211-1/+1
| | | | | Bug: 3385856 Change-Id: I6dc39b02b81e290af0b47f6a6c9ba2da3e7c65c3
* Don't try to talk to vold mid-encryption.Ben Komalo2011-09-111-8/+10
| | | | | | | | | | We were attempting to unconditionally validate the encryption state on CryptKeeper bringup, which required MountService to talk to vold. For some reason, during encryption, this cannot happen, and that call never returns, so the CryptKeeper UI was never brought up. Bug: 5276690 Change-Id: I6a146e25e24f4efd760b0afa1e1409bf9ea3e9c3
* Show factory reset option if encryption went bad.Ben Komalo2011-09-061-4/+54
| | | | | | | Also update the wording for the error message Bug: 3384231 Change-Id: I25a67cba7abede913bdd8cadaafc42bcbd5c5c5f
* Misc fixes to CryptKeeperBen Komalo2011-08-291-43/+71
| | | | | | | | | | | - use standard IME, but force it into ASCII if it's the default IME - provide an IME switcher if there are multiple IME's, in case the ASCII-capable one is a different one - make the IME shown by default Bug: 5004456 Bug: 4698473 Change-Id: Id40a164cfe599bfdb67b81f60d4ab8a52208de88
* Stop leaking wakelocks in cryptkeeper.Ben Komalo2011-08-181-4/+12
| | | | | | | | Also add in logging for certain events, as well as progress update to help hunt down a stuck-in-progress bug Bug: 5163155 Change-Id: I2e01a56b012f41f178beba0becfbe8173a1715ee
* Fixes to CryptKeeper layout for phonesBen Komalo2011-08-171-1/+3
| | | | | | | | | - prevents crash when trying to show error state - makes progress screen not look horribly broken Bug: 5174783 Bug: 4671153 Change-Id: Ia72830e2fdb72f174b3ed01b6fc14be7152d1932
* Allow CryptKeeper to be started for UI debuggingBen Komalo2011-08-171-9/+42
| | | | Change-Id: I3ca6e00018da39123b470c3960c00c8cd43f9f72
* Add "emergency call" button to CryptKeeperDavid Brown2011-06-241-1/+78
| | | | | | | | | | | | | | | | | | This allows you to make an emergency call without needing to decrypt your device first. The exact appearance of the button, and the two possible icons shown to the left of the text, are taken directly from the corresponding framework resources (see keyguard_screen_*.xml, ic_emergency.png, and stat_sys_phone_call.png.) Also, the code in CryptKeeper.java for updating the state of, and handling clicks from, the "Emergency call" button is mostly duplicated from the corresponding code in LockPatternUtils and LockPatternKeyguardView under frameworks/base. Bug: 4494186 Change-Id: I36a713fdbc3281a7ba46762d47d5b61fb3cd194d
* Get encryption working for phones.Jason parks2011-06-131-4/+6
| | | | | | | I've removed the "special" keyboard from the phone layouts for now. Change-Id: I4b18279dafb18ba7cebacfad1b7167e34a7203b4
* Partial fix for Bug 3495575.Jason parks2011-03-011-33/+50
| | | | | | | | | | | | Move the decrypt attempt to a AsyncTask. This will unblock the UI thread in order for the device to still be "responsive". There is still the issue of decrypt taking 3+ seconds before it returns to. The delay is still there becfore the fade but the text field is now cleared and you can tap on keys. Bug: 3495575 Change-Id: Icec82e83d3a09b3c0f856aa77870925fc8469625
* There can only be one.............................Jason parks2011-02-101-0/+36
| | | | | | | KEYBOARD! Bug: 3413847 Change-Id: I3d427f449c6cdbad0770f087d1139dc94be50e80
* Restart encryption display after screen power cycleAndy Stadler2011-02-011-11/+21
| | | | | Bug: 3414241 Change-Id: I881fc14c3e0850089b98fcbdbd86c39dde22771c
* Preserve wakelock through rotationAndy Stadler2011-02-011-3/+38
| | | | | | Bug: 3381450 Change-Id: Iea09d050231dfe31848666bdb186a5531d90e7bc
* More CryptKeeper UI work.Andy Stadler2011-01-311-17/+49
| | | | | | | | | | | | | | | | | * Implemented failure case. * More pixel perfect * Remove the animation * Display the encroid on the blank screen * Remove the back button. * Fix portrait mode screens Bug: 3384231 Bug: 3394103 Bug: 3388721 Bug: 3381450 Bug: 3406278 Bug: 3351832 Change-Id: Ib763c8b577198deb45255acc767bc6d5409efc0c
* More work on the Crypt Keeper.Jason parks2011-01-271-36/+61
| | | | | | | | | | | | | | * Use the DPM to determine if we are encrypted. * Fix misspelling (Comfirm -> Confirm). * Animate to black when enabling encryption. * Add holo droid background. * Change the progress bar to indterminate. * Display the percentage complete in the status line. * Fixed bug 3388097. You will no longer have to unplug your device to start encryption. This line is intentionally long. I could make it shorter but I am proving a point: <magic>overflow: auto;</magic>. * Actually hold onto the wakelock to prvent the device from sleeping. * Implement onStop() as a orientation change can happen at boot. This will start the activity twice and there will be multiple handlers with messages. Change-Id: Ia752d106c39e0d81431e856f8f500182e8ec1abd
* More UI tweaks.Jason parks2011-01-251-9/+16
| | | | | | | | | * Grab a full wakelock while encrypting. * Fix a bug with failed attempts. * Add a custom theme to animate the screen to black. * Fix the keyboard to be displayed properly in landscape and portrait. Change-Id: Icc2d813ce1780588eb3b16f5204c3c60cae5236f
* Accquire a wakelock while encrypting.Jason parks2011-01-211-21/+31
| | | | | Bug: 3375491 Change-Id: Ief7dbb450800104f4977ab31f93a1e1a994b25ad
* More UI tweaks and fixes.Jason parks2011-01-211-14/+12
| | | | | | | | | * Actually post the correct message every 5 second for the progress bar. * Update the text for the settings to a more finalish version. * Check the battery status before allowing encryption to proceed. * Display a place holder message if no password is set for the device. Change-Id: I2734300c9a81467dbd0401427d8b656922ab4819
* Change how we check to see if we should display the progress bar.Jason parks2011-01-211-1/+2
| | | | Change-Id: I779e229f82a11d570e832f3e8cc5b275939249e8
* More work on the CryptKeeper.Jason parks2011-01-181-5/+100
| | | | | | | | * There is now a 30 seconds delay after 10 failed password attempts. * The device is factory reset after 30 failed password attempts. * Implemented the progress UI for inplace encryption. Change-Id: Ie830b03f9c84a117ee3048086275d6049907fa3c
* Move the CryptKeeper to Settings.Jason parks2011-01-121-0/+116
Change-Id: I59e46366e1911ae7fd37f07719f1e7ba0825733c