am dbf4322a: Change how we check to see if we should display the progress bar.

* commit 'dbf4322ab1cf39d123334a7778c7ccc8942ada74':
  Change how we check to see if we should display the progress bar.
This commit is contained in:
Jason parks
2011-01-21 12:36:08 -08:00
committed by Android Git Automerger

View File

@@ -120,7 +120,8 @@ public class CryptKeeper extends Activity implements TextView.OnEditorActionList
// Check to see why we were started. // Check to see why we were started.
String progress = SystemProperties.get("vold.encrypt_progress"); String progress = SystemProperties.get("vold.encrypt_progress");
if ("startup".equals(progress)) {
if (!"".equals(progress)) {
setContentView(R.layout.crypt_keeper_progress); setContentView(R.layout.crypt_keeper_progress);
encryptionProgressInit(); encryptionProgressInit();
} else { } else {