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

Change-Id: I779e229f82a11d570e832f3e8cc5b275939249e8
This commit is contained in:
Jason parks
2011-01-20 18:49:58 -06:00
committed by android-merger
parent c9bc0db40d
commit d408d8c740

View File

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