IIRC, if the `mShowingLockScreen` is successfully found, the expression `screenLocked || samsungNoteScreenLocked` will return `screenLocked` which is the result of that regex. In other words, due to javascript boolean behavior (i.e., it returns the value of the truthy branch, not `true` itself) `screenLocked` will always clobber `samsungNoteScreenLocked` if the former is truthy. the `samsungNoteScreenLocked` match will only be used if the `screenLocked` match doesn't exist.