Skip to content

Commit

Permalink
Updated comment with reference to the issue on Android 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-alexander committed Dec 4, 2019
1 parent bfa289d commit 13dba9c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aztec/src/main/kotlin/org/wordpress/aztec/AztecText.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1559,8 +1559,9 @@ open class AztecText : AppCompatEditText, TextWatcher, UnknownHtmlSpan.OnUnknown
deleteInlineStyleFromTheBeginning()
}
}
// Fix for crash when pasting text on Samsung Devices running Android 8 & 7.
// Ref: https://github.com/wordpress-mobile/WordPress-Android/issues/8827
// Fix for crash when pasting text on Samsung Devices running Android 7 & 8.
// Android 7 Ref: https://github.com/wordpress-mobile/WordPress-Android/issues/10872
// Android 8 Ref: https://github.com/wordpress-mobile/WordPress-Android/issues/8827
clipboardIdentifier -> {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N && Build.VERSION.SDK_INT < Build.VERSION_CODES.P
&& Build.MANUFACTURER.toLowerCase().equals("samsung")) {
Expand Down

0 comments on commit 13dba9c

Please sign in to comment.