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
This commit is contained in:
Ben Komalo
2011-08-16 17:48:42 -07:00
parent 25bad16da6
commit f0104df823
5 changed files with 119 additions and 15 deletions

View File

@@ -327,7 +327,9 @@ public class CryptKeeper extends Activity implements TextView.OnEditorActionList
tv.setText(R.string.crypt_keeper_failed_summary);
View view = findViewById(R.id.bottom_divider);
view.setVisibility(View.VISIBLE);
if (view != null) {
view.setVisibility(View.VISIBLE);
}
}
private void updateProgress() {