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:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user