Final cleanup of "password required" dialog
Bug: 3406068 Change-Id: I65c0e8f37236194565cb3a1cf022dfdfdc5c0044
This commit is contained in:
@@ -91,11 +91,11 @@ public class CryptKeeperSettings extends Fragment {
|
||||
|
||||
public void onClick(View v) {
|
||||
if (!runKeyguardConfirmation(KEYGUARD_REQUEST)) {
|
||||
// TODO remove with proper flow
|
||||
// TODO replace (or follow) this dialog with an explicit launch into password UI
|
||||
new AlertDialog.Builder(getActivity())
|
||||
.setTitle("No password set")
|
||||
.setTitle(R.string.crypt_keeper_dialog_need_password_title)
|
||||
.setIcon(android.R.drawable.ic_dialog_alert)
|
||||
.setMessage("Before you enable encryption you must set a device password.")
|
||||
.setMessage(R.string.crypt_keeper_dialog_need_password_message)
|
||||
.setPositiveButton(android.R.string.ok, null)
|
||||
.create()
|
||||
.show();
|
||||
|
Reference in New Issue
Block a user