History log of /packages/apps/Settings/src/com/android/settings/CryptKeeper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2a6552ed502cfa60fec71a9d41a11faa1e4be963 15-May-2015 Paul Lawrence <paullawrence@google.com> Disable back button on crypto screen

The back button cannot do anything from this activity as it is
only ever launched first thing at boot. So do not permit going back.

Note that screens launched from here (emergency dialer, keyboard config)
still work and their back buttons still work.

Bug: 20730074
Change-Id: I939e05450e5fbd61d12890325c4afe9dcad35c1e
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
c04420ce2581627478b59cc5d8b453f1fa329e02 18-May-2015 Paul Lawrence <paullawrence@google.com> Honor password visible setting in CryptKeeper

Requires matching framework change:
https://googleplex-android-review.git.corp.google.com/#/c/692822/

Bug: 20184626
Change-Id: I04bfb9ed61a7b40fbc28fbc0b4b10bf848b34a2c
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
e792729b4ca60632b43c9e1ee6126fb5e031deae 05-May-2015 Seigo Nonaka <nona@google.com> Making the behavior deterministic when the IME picker is shown.

In the language & input settings, the auxiliary IME subtypes have been
hidden since they should not be a default. With Id156c85535a22, now we
can explicitly control the behavior of input method picker.
Note the this CL should not change any user visible behaviors.

Bug: 20763994
Change-Id: I9f797d07ba02363fab58ceb9aecb3cc11fbc407e
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
19280af592876d1fe7acd4120eb93390c089641c 27-Jan-2015 Fyodor Kupolov <fkupolov@google.com> Use primaryUserOnly attribute to disable CryptKeeper

CryptKeeper activity is now disabled by using primaryUserOnly, instead of
broadcast receiver. This allows to avoid bringing up the process, when it
is not necessary.

Change-Id: I5d1f979b96093c6769f6c920b18517971835a7ad
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
1b5cc427f06019936e40ee8e43ae931b8752eb11 09-Dec-2014 Fyodor Kupolov <fkupolov@google.com> Disable CryptKeeper activity for secondary users

For secondary users, disable CryptKeeper activity in a broadcast receiver of
USER_INITIALIZE intent. This change has the following benefits for guest
user switching:
- The code will be executed earlier in the user switching flow, when the
screen is frozen by WindowManager.
- Initialization of CryptKeeperActivity is skipped

Bug:18670536
Change-Id: I60300198b605c26ad15afe2c874d5f1be7da5087
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
13b8b564f83c9520358647c54ec5b0f890829d0e 21-Nov-2014 Paul Crowley <paulcrowley@google.com> Reduce number of attempts before factory reset to 30.

Bug: 18292029

Change-Id: I2a78775d0505a3064838443ea631fee0ad612e5c
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
51e0811a7ac7ec5e31c67a466bb450d80ffaa24a 12-Nov-2014 Paul Crowley <paulcrowley@google.com> Force power cycle on cooldown.

Bug: 18292029
Change-Id: I02b6eff56902859ae3aba4909656553f4b322b0c
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
2555e5f1040984a3422c5a4db43421e87d4ca0ce 07-Nov-2014 Paul Crowley <paulcrowley@google.com> Prevent factory reset for short passwords in CryptKeeper

Since patterns and passwords can't be shorter than 4
elements, we shouldn't count them against attempts to unlock
the device. If we do, we risk resetting the device
due to stray input.

Bug: 18211475
Bug: 18273380

Change-Id: Ib329cd3383471483cda68bfac4278b17d0c09c57

Conflicts:
src/com/android/settings/CryptKeeper.java
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
a8c760691de4ecdc15e856324cc123d1af9aeaed 08-Nov-2014 Paul Crowley <paulcrowley@google.com> Use the right message for pattern/password.

Bug: 17875087
Change-Id: I7729a4fcb993def912e950ad0ea59fd64bfc34d3
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
529834dae1ce469d64f7e191db43315e88691e7e 21-Oct-2014 Paul Crowley <paulcrowley@google.com> Add a new flow for decryption checking.

Bug: 17875087

Change-Id: I78ba98901bc74ae654414c0a4a303b104a629965
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
f9d6d2916323472f6c543edcc3956a8d00925e6b 02-Oct-2014 Elliott Hughes <enh@google.com> Use the StorageManager constant for the PatternVisible key.

Bug: 17659622
Change-Id: Ibd44f5c619f61764ef4e4a3447f241e2f73339b5
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
d642d1abcfed427e4c152e28e39b50cdb68b81c6 25-Sep-2014 Jeff Sharkey <jsharkey@android.com> Merge "Include reason when wiping data." into lmp-dev
1de688d911cf96eff39eddc5a7070e3c44efefc1 24-Sep-2014 Jeff Sharkey <jsharkey@android.com> Include reason when wiping data.

This will help us track down who requested a data wipe.

Bug: 17412160
Change-Id: I46b3f12a661a406450d23a7974513f40beb23c8d
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
ced7db460f472a288255f6f75302381356eb9de8 18-Sep-2014 Paul Lawrence <paullawrence@google.com> Hide controls once password is known good

Bug: 17551103
Change-Id: I4fd182b7ac7a9ad7c1483979d4510b50b52e520f
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
2c526515775559b34a311400435de28d85b9c79e 17-Sep-2014 John Spurlock <jspurlock@google.com> Settings: Ensure CryptKeeper dismisses secure keyguards.

Otherwise, the lockscreen can be shown during the decryption
challenge, which hides the challenge activity window until
the next reboot.

Bug:17512377
Change-Id: Idb6b5b3dddb3cf2dc70b784413ea310c401880af
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
3e71b197f7f85c5045a083ecc532954958807be6 11-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: Ia6e2d082eac1c1f306da691e95dd9bfb9afd37eb
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
87abbd3ea06a4901a4a967ce01e9fded356ae75f 29-Aug-2014 Paul Lawrence <paullawrence@google.com> Get correct factory reset reason from encryption failure

Requires matching framework change
https://googleplex-android-review.git.corp.google.com/#/c/535832/

Bug: 17213613
Change-Id: Ia8006f4a9cb5909d83f1848d9acfbc3f1e0ab5fb
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
a1ca4ed14d12cd3daa8bb5db5527676ca78c1850 26-Aug-2014 Nancy Chen <nancychen@google.com> Merge "API Review PhoneManager -> TelecommManager. Rename methods (3/6)" into lmp-dev
db848a5de6edb5483fa6564c4261f79fded670c1 22-Aug-2014 Nancy Chen <nancychen@google.com> API Review PhoneManager -> TelecommManager. Rename methods (3/6)

PhoneManager
- handlePinMMI docs should explain what a Pin is and what MMI is
- rename isInAPhoneCall to isInCall
- rename showCallScreen to showInCallScreen
- merge this class into TelecommManager, we don't need both

Bug: 16960458

Change-Id: I8285f15747b66fdfad93d203d848d4a62c0f9b2a
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
0f11e15f503d65d5a085157d8ec406a72d712ce7 20-Aug-2014 Paul Lawrence <paullawrence@google.com> Honor hide pattern on crypto screen

Also clear pattern a little more quickly, and show owner info
even from before encrypting (since we're fixing pattern visible,
we should fix owner info too in the same way)

Bug: 17059314

Change-Id: Ie9ccd4a892a1dec32ebe60567d3b72dd6fe25060
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
384d8e52b6750b2be7079f8828e4d2f038e22180 09-Aug-2014 Paul Lawrence <paullawrence@google.com> Bring up factory reset UI when decryption fails but password is correct

Needs string change
Bug: 11477689

Change-Id: I1dcca59483bff32a939b8a7d052eafebd8a1eef0
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
bd4c3210e1e0d6f58b2a5857032a2dacb316be98 23-Jul-2014 Paul Lawrence <paullawrence@google.com> Show countdown of remaining decrypt attempts before wiping device

Bug: 16496992
Change-Id: Ibdd4bbbf9a9eeafee5e0e5ed48464d524628cf12
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
7ae20e3ce98543888cfccbef6b1254d060bc30ca 23-Jul-2014 Paul Lawrence <paullawrence@google.com> Allow CryptKeeper dialogs to rotate on tablets

Tablets may be used in docking stations thus need to support landscape mode.
Phones will not be, and having them rotate is both ugly and annoying.
Also this matches lock screen behavior.

The attribute screenOrientation is not themeable, so the only way of doing
this is programmatic.

Test for truth of bool which is only set for sw600dp devices and
clear the nosensor setting from the manifest if set.

Bug: 16405551
Change-Id: I5b3f945b89402e5aa39642c2c06e98f9ca1ce298
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
89c7570dd42ce6945ce8e092892a22ec79c30c82 11-Jul-2014 Paul Lawrence <paullawrence@google.com> Make crypt dialogs material

White on black material theme
Center text
Remove fade to black task
Fix emergency call button

Note - does not implement all requirements of frames in the defect. More
to follow.

Bug: 15328359
Change-Id: I878e59dccffff366ba2484bb77482e168cbd2b81
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
35230e9ed76de518c7ea46d9277bdc8fa765efd8 08-Jul-2014 Santos Cordon <santoscordon@google.com> Update CryptKeeper to use PhoneManager APIS.

Change-Id: Ie0ba36ef55869f2d7cfd3e460541c6f3bd08da55
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
08c6ab0feaf459029d470b5c7a50fb55be763365 19-Jun-2014 Paul Lawrence <paullawrence@google.com> Fix back button on crypto screen

Did not reenable after entering wrong password.

Bug: 12434219
Change-Id: If8b0c22213a345b3dd0f92e02710c155c7adcd1c
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
5a70f05e0d86443cd97b186d2a5101eb4c7eed81 13-Jun-2014 Paul Lawrence <paullawrence@google.com> Fix assorted problems on Crypto screen

Show keyboard on retry with PIN or password
Show correct message on cooldown
On return from emergency call, don't override cooldown
Don't show keyboard on return from emergency call if in cooldown
Show back functionality on emergency call

Change-Id: I5cc93cb09ad758b72521bd43cfad1040be2e5f8d
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
f6cda3b176d097f8360b5c34c6ba746cd10b4004 12-Jun-2014 Paul Lawrence <paullawrence@google.com> Remove crypto pattern after two seconds

Currently pattern is left on after a failed attempt. This change removes
it after a timeout.

Change-Id: I77830510b17396f6e64a482816f6041af0fdc166
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
b15c68fbf19c021eb0a3bed1ccc4dd7fda384ec7 05-Jun-2014 Paul Lawrence <paullawrence@google.com> Show time to go while encrypting drive

Bug: 15159008
Change-Id: I9bb6f86c2941cbd93572c25716d21691a4fefbef
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
f5ca71751ef12ff5f04906ae77540191a081bdd0 02-Jun-2014 Paul Lawrence <paullawrence@google.com> Adding comment

To enable marquee'ing, you have to call setSelected on the relevant control.
Comment added to explain this. Also see defect 15327172 filed against
SDK documentation to properly explain this.

Change-Id: If8f70baa1b682070b312fa689b2edd77b50d2d6e
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
5a1233e7df8a44722ecad436562b0cc82c9d4c30 30-May-2014 Santos Cordon <santoscordon@google.com> am 3afbdf00: Update showCallScreen to use Telecomm (6/6)

* commit '3afbdf006057c93f930694e26306a3cc9cea34e4':
Update showCallScreen to use Telecomm (6/6)
3afbdf006057c93f930694e26306a3cc9cea34e4 30-May-2014 Santos Cordon <santoscordon@google.com> Update showCallScreen to use Telecomm (6/6)

Use TelephonyManager instead of ITelephony for showCallScreen so that
the invocation routed to telecomm instead.

Bug: 15008165
Change-Id: Ib674e2e48efaa1cc97d1513dc2c2b27fdb343657
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
7836ae8b556da9855508e4bff7db4e70aea77aeb 29-May-2014 Paul Lawrence <paullawrence@google.com> Fix marqueeing of OwnerText on CryptKeeper screens

Have to call setSelected to make marqueeing work.

Change-Id: Ic00012c150a9cacfff2b11f2938ea0674a1f45e9
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
c9cf31ca5550feaf64ea9c74db9b78ada8f136e0 19-May-2014 Paul Lawrence <paullawrence@google.com> Merge "Improve power fail/reset"
73456acfb45beb7a95b5aee5a1f7566d3b803a86 16-May-2014 Paul Lawrence <paullawrence@google.com> Improve power fail/reset

On power fail/reset, an encrypted device will sit at the enter password screen
indefinitely, chirping. This is designed to attract the attention of the user.

However, it also flattens the battery, and the user who's attention is not
drawn will discover a discharged phone the next morning. We have had many
complaints about this.

Keep current functionality, but power down after 10 minutes. It's a compromise,
but seems reasonable.

@bug 12582489

Change-Id: I895c0147bed978ecf6984af2c748f971dfa0d221
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
04425f161761f4606370daed5f85c67506967ce0 15-May-2014 Paul Lawrence <paullawrence@google.com> Fixing decryption messaging

Messaging currently implies encryption only works with PIN or password
(K functionality). Now that in L we support encryption with PIN, pattern,
password or swipe/none, we need to update the strings accordingly.

@bug 14257692
@bug 13674657

Change-Id: I055db1289c2c2750d217b50b653a7f36ff304aca
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
9ac2d81d9fd155240e02284894148c6dcbe486ec 18-Mar-2014 Paul Lawrence <paullawrence@google.com> Show OwnerInfo on CryptKeeper screen

Depends on framework change from
https://googleplex-android-review.git.corp.google.com/#/c/435138/

Bug 13526708

Change-Id: I16189b629b5515ec5175e05155ba4ec0c27d22fb
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
dafbc9b02dafbfce2f11ca2a92086098ef152699 20-Mar-2014 Paul Lawrence <paullawrence@google.com> Merge "Handle pattern cooldown correctly"
2daf2641d364683c21bcbae08a3358d0f3c6af94 14-Mar-2014 Paul Lawrence <paullawrence@google.com> Handle pattern cooldown correctly

We need to disable pattern control when in cooldown. We also need
to hide the back button completely in pattern mode.

Bug: 13329798
Change-Id: Idefea60d95db1810d340c69cc730a286011363db
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
e54e9323ed423d68f0567dcf05f45c62187ad8dd 13-Mar-2014 Paul Lawrence <paullawrence@google.com> Don't show IME on pattern

Bug: 13327729
Change-Id: Ie83dda98558b66c824c15975310a8fb1835e900f
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
b05f39d186d8ce1b53bb4da3cb4c2cd22986f513 04-Feb-2014 Paul Lawrence <paullawrence@google.com> Support default, pattern, pin and password encryption types

Use plumbing provided by dependant change to bring up correct dialog
at boot time.

Needs matching framework changes from
https://googleplex-android-review.googlesource.com/#/c/412885/

Bug: 8769627
Change-Id: Ib04a2875e051a7cccca035fadb25978dfec22491
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
fb3d5cad48876dbd366fd8b562529d355d2428db 14-Nov-2013 Jim Miller <jaggies@google.com> Don't show keyguard on top of CryptKeeper

The fix in Change Ifbe4cdf40e3b76d2069ecace940f85fa58f31187 causes
keyguard to be more aggressive about showing itself.

CryptKeeper itself should explicitly dismiss keyguard.

Fixes bug 11680832

Change-Id: I87287762b73bdffc6f1800379f02f70f4bd873a8
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
66d050bb4b6bf899e363f3e67d1eb5774de744b5 01-Oct-2013 Alon Albert <aalbert@google.com> Hide Camera in CryptKeeper

Bug: 10993393

Change-Id: Idaddd01f099ae40283eb86fd92232845f9d436b8
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
bf459dafdc5d97d8f2103c1d2a9cb65f5096e4f8 09-Nov-2012 Vikram Aggarwal <viki@google.com> Remove back button entirely when disabled

Bug: 7480506 Encryption screen shows back button
Change-Id: Iba2706fd6b61303178b472071f32d65bdf72e50d
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
86508085ea181f2d514569a5cf4fe0633d90b843 08-Oct-2012 Vikram Aggarwal <viki@google.com> Remove further logging

Bug: 7302014 CryptKeeper logs PII data

Change-Id: Ifb18c428c70e97f28ceeced2fa0aa6e9247a5372
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
c3ebad20f24299a680caa4ab70e22e9042df405e 08-Oct-2012 Vikram Aggarwal <viki@google.com> Remove verbose logging

Bug: 7302014 CryptKeeper logs PII data

Change-Id: I4dec3a827a5b6880b1c0995b8adebf34315c4773
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
6a5929b086a61a955a4a2f43f5fa251e8754ff4a 11-Sep-2012 Christopher Tate <ctate@google.com> Update Settings app to use new namespace for airplane-mode settings

Bug 7132230

Change-Id: I0253637e6d464afc229cf11ffe69852bf44fe261
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
5543404ae0ec9635b59d37fa01074ea598d539eb 14-Jun-2012 Wink Saville <wink@google.com> Use telephony-common

Change-Id: Ic95136fd5934afdd53a08bfd640d40add67fdb44
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
f576dd6c9f2470516b2fd8494ad210a77f3c8c1f 22-May-2012 Vikram Aggarwal <viki@google.com> Show keyboard selectively, do not listen on MCC/MNC changes, show text to user.

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
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
d1147250dd5fb7022b01a5c899d365069bb625f8 08-May-2012 Vikram Aggarwal <viki@google.com> Delay audio notification on user interaction

Fix the eng pieces of bug 6445429.

Change-Id: I1963d2e701e4b4639cdc75cc3161668d0601747d
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
6ebbd30e18ca514ca9ee87ffa428c55c9fd92a8c 04-May-2012 Vikram Aggarwal <viki@google.com> Write the airplane setting in addition to sending the Intent.

dab was right. :)

Fix b/6006192 in association with https://android-git.corp.google.com/g/187160

Change-Id: I3edfb3191ab35a4e5de1b18f3e2e1dae5f882354
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
8b399cc71c960db05aa804c7e982709a1af5502d 04-May-2012 Vikram Aggarwal <viki@google.com> Merge "Go into airplane mode in minimal boot mode." into jb-dev
ea1186db19e673b44084b43b6a70bbdb07480aa9 04-May-2012 Vikram Aggarwal <viki@google.com> Go into airplane mode in minimal boot mode.

Fix b/6006192

Change-Id: Ied4d9b51aac4e8ac1d2114aa1e95d4ebbe93413b
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
c62d321e8dcb023e8c7299802a75a271b7ca98d9 03-May-2012 Vikram Aggarwal <viki@google.com> UI fixes for tablets

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
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
86b93937fa417647d22ee15d3a0aff7a751be17a 02-May-2012 Vikram Aggarwal <viki@google.com> Notification alert every 5s and start after 30s.

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
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
de3c9cb412688eb841993ad971d06039d8a952c3 02-May-2012 Vikram Aggarwal <viki@google.com> Notify user when waiting for decryption password

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
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
b96b35a62b1f092b6322643c3568f3e712543e53 01-May-2012 Vikram Aggarwal <viki@google.com> Enable back in CryptKeeper

Fix b/6280906

Change-Id: I38d75c4b4c928c77c20bf8eca2649bf6eaa95507
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
9f55ae28789754dafeed5c68468d45135d46199e 02-Apr-2012 Vikram Aggarwal <viki@google.com> Fix crash due to lost activity.

Change-Id: I9d0c2941bf3d725c506b15a738e6ab41678d76d1
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
bfa3a64310162c8f29eae208220988380ffeea6e 29-Mar-2012 Vikram Aggarwal <viki@google.com> Minor changes to improve CryptKeeper readability

Change-Id: I8a056216edf7f557c32bdec9387b0d31de7aa6c6
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
644fa4243b4c288c85845b3f86aab25135635729 18-Oct-2011 Dianne Hackborn <hackbod@google.com> Work on issue #5461497: Landed on Welcome screen after a tap on 'Next' in 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
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
140f6c6cf705f020c0ee6a2843cf1691cc68e729 16-Oct-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5460725: Crespo does not fully boot after a wipe

Add a hack to relaunch whatever was supposed to be launched
(presumably home) when CryptKeeper discovers it shouldn't be
running.

Change-Id: I1406b8d6e8d484ed1c169fa4908a9e05e8c7c2ad
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
4d2bfd149118c8b82827d76d1d110fd5c65294c8 12-Oct-2011 Daniel Sandler <dsandler@android.com> Use new status bar disable flags.

Requires frameworks/base change I04eb2245.

Bug: 5380495
Change-Id: Ia9e5c25e224b38c1cdad4cd725fc425de90f8344
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
9ee164f44ea1ad66fa16ed702eb885e36ade0d8b 21-Sep-2011 Ben Komalo <benkomalo@google.com> Properly initialize wakelock for cryptkeeper.

Bug: 3385856
Change-Id: I6dc39b02b81e290af0b47f6a6c9ba2da3e7c65c3
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
d4758efef6d6564d7b4b0b747d0a9ae9b44a38c7 08-Sep-2011 Ben Komalo <benkomalo@google.com> Don't try to talk to vold mid-encryption.

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
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
0e66609c95047ba7e5c0408bdc88af4315fd35b1 02-Sep-2011 Ben Komalo <benkomalo@google.com> Show factory reset option if encryption went bad.

Also update the wording for the error message

Bug: 3384231
Change-Id: I25a67cba7abede913bdd8cadaafc42bcbd5c5c5f
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
9fcb6a7fac02aef85085c2db616556257e1642f5 26-Aug-2011 Ben Komalo <benkomalo@google.com> Misc fixes to CryptKeeper

- 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
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
0460675b7c0d5a9b02dae01578c64ff0453e4fb7 18-Aug-2011 Ben Komalo <benkomalo@google.com> Stop leaking wakelocks in cryptkeeper.

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
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
f0104df823a93ef4c3336118ddb02a0924e520da 17-Aug-2011 Ben Komalo <benkomalo@google.com> Fixes to CryptKeeper layout for phones

- prevents crash when trying to show error state
- makes progress screen not look horribly broken

Bug: 5174783
Bug: 4671153
Change-Id: Ia72830e2fdb72f174b3ed01b6fc14be7152d1932
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
91a2f0566afb91549cbda9289b516154a6467624 17-Aug-2011 Ben Komalo <benkomalo@google.com> Allow CryptKeeper to be started for UI debugging

Change-Id: I3ca6e00018da39123b470c3960c00c8cd43f9f72
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
8373b451692a39abdfd12444241c016831e1a4a4 20-Jun-2011 David Brown <dab@google.com> Add "emergency call" button to CryptKeeper

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
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
00046d6e176eb05c3e3b0d13d38a8da7491bba5e 14-Jun-2011 Jason parks <jparks@google.com> Get encryption working for phones.

I've removed the "special" keyboard from the phone
layouts for now.

Change-Id: I4b18279dafb18ba7cebacfad1b7167e34a7203b4
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
06c5ff4a46686d3f599e40df0768177d3d88913c 01-Mar-2011 Jason parks <jparks@google.com> Partial fix for Bug 3495575.

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
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
75c085ee890744cdd4b90c72f8b50e6aeeb31e88 10-Feb-2011 Jason parks <jparks@google.com> There can only be one.............................

KEYBOARD!

Bug: 3413847
Change-Id: I3d427f449c6cdbad0770f087d1139dc94be50e80
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
9597406aa1b83867b03a47d1a5162969b924f2fc 02-Feb-2011 Andy Stadler <stadler@google.com> Restart encryption display after screen power cycle

Bug: 3414241
Change-Id: I881fc14c3e0850089b98fcbdbd86c39dde22771c
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
1499740c13af5fbd5766a87825c3e789b37bab24 02-Feb-2011 Andy Stadler <stadler@google.com> Preserve wakelock through rotation

Bug: 3381450

Change-Id: Iea09d050231dfe31848666bdb186a5531d90e7bc
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
13d62049f7c96c47356f23eaee7f0997612fdf9f 01-Feb-2011 Andy Stadler <stadler@google.com> More CryptKeeper UI work.

* 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
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
f8217304073b5cd13823a0602568394be93bf310 26-Jan-2011 Jason parks <jparks@google.com> More work on the Crypt Keeper.

* 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
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
f1dbf55819e01f6cf1a99d38a292b15de1262a29 24-Jan-2011 Jason parks <jparks@google.com> More UI tweaks.

* 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
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
35933812b16f0b4221280bbcc3c32f6540996bf2 21-Jan-2011 Jason parks <jparks@google.com> Accquire a wakelock while encrypting.

Bug: 3375491
Change-Id: Ief7dbb450800104f4977ab31f93a1e1a994b25ad
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
39f1e04079976d3d10fdd8e5dd36c833bab8a371 21-Jan-2011 Jason parks <jparks@google.com> More UI tweaks and fixes.

* 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
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
dbf4322ab1cf39d123334a7778c7ccc8942ada74 21-Jan-2011 Jason parks <jparks@google.com> Change how we check to see if we should display the progress bar.

Change-Id: I779e229f82a11d570e832f3e8cc5b275939249e8
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
ec5a45e79cb7161adfabf475342c1e1b25994276 18-Jan-2011 Jason parks <jparks@google.com> More work on the CryptKeeper.

* 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
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java
8fd5bc9e6ff0d02012df670a6bf4bcdaf903c09d 12-Jan-2011 Jason parks <jparks@google.com> Move the CryptKeeper to Settings.

Change-Id: I59e46366e1911ae7fd37f07719f1e7ba0825733c
/packages/apps/Settings/src/com/android/settings/CryptKeeper.java