Skip to content

Commit aca48f2

Browse files
committed
Fix a boolean condition that under some basic condition were breaking the passcode lock altogether
1 parent 7f6af51 commit aca48f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/src/org/wordpress/passcodelock/DefaultAppLock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public DefaultAppLock(Application app) {
3939
/** {@link PasscodeUnlockActivity} is always exempt. */
4040
@Override
4141
public boolean isExemptActivity(String activityName) {
42-
return !UNLOCK_CLASS_NAME.equals(activityName) && super.isExemptActivity(activityName);
42+
return UNLOCK_CLASS_NAME.equals(activityName) || super.isExemptActivity(activityName);
4343
}
4444

4545
@Override

0 commit comments

Comments
 (0)