Skip to content

Commit 2bc7482

Browse files
hex539Android (Google) Code Review
authored andcommitted
Merge "Keep password failure notification on after unlock" into ub-testdpc-mnc
2 parents aecbcd3 + 8e36f03 commit 2bc7482

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

app/src/main/java/com/afwsamples/testdpc/DeviceAdminReceiver.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -268,13 +268,6 @@ public void onPasswordFailed(Context context, Intent intent) {
268268
nm.notify(PASSWORD_FAILED_NOTIFICATION_ID, warn.getNotification());
269269
}
270270

271-
@Override
272-
public void onPasswordSucceeded(Context context, Intent intent) {
273-
NotificationManager nm = (NotificationManager)
274-
context.getSystemService(Context.NOTIFICATION_SERVICE);
275-
nm.cancel(PASSWORD_FAILED_NOTIFICATION_ID);
276-
}
277-
278271
@Override
279272
public void onPasswordChanged(Context context, Intent intent) {
280273
updatePasswordQualityNotification(context);

0 commit comments

Comments
 (0)