Merge "Make PIN/password failed attempts dialog non-cancelable"

This commit is contained in:
Treehugger Robot
2016-10-07 11:09:26 +00:00
committed by Gerrit Code Review

View File

@@ -173,6 +173,7 @@ public class KeyguardSecurityContainer extends FrameLayout implements KeyguardSe
final AlertDialog dialog = new AlertDialog.Builder(mContext)
.setTitle(title)
.setMessage(message)
.setCancelable(false)
.setNeutralButton(R.string.ok, null)
.create();
if (!(mContext instanceof Activity)) {