Fixed
Status Update
Comments
al...@google.com <al...@google.com>
ap...@google.com <ap...@google.com> #2
Or when changing to textView.textMetricsParamsCompat still crash.
private fun setAsyncText(textView: AppCompatTextView, text: String?) {
if (!text.isNullOrEmpty()) {
val textFuture = PrecomputedTextCompat.getTextFuture(text!!, textView.textMetricsParamsCompat, null)
textView.setTextFuture(textFuture) //Crash
}
}
private fun setAsyncText(textView: AppCompatTextView, text: String?) {
if (!text.isNullOrEmpty()) {
val textFuture = PrecomputedTextCompat.getTextFuture(text!!, textView.textMetricsParamsCompat, null)
textView.setTextFuture(textFuture) //Crash
}
}
Description
The following lint check is baseline suppressed in your project. Please remove all instances of this suppression from
core/core/lint-baseline.xml
and address the associated issues before your next stable release.4 instance(s) of
SoonBlockedPrivateApi
Reflective access to mOverlapAnchor will throw an exception when targeting API 30 and above
Found in
src/main/java/androidx/core/widget/PopupWindowCompat.java
at line 125:Reflective access to mMinWidth will throw an exception when targeting API 30 and above
Found in
src/main/java/androidx/core/view/ViewCompat.java
at line 2006:Reflective access to mMinHeight will throw an exception when targeting API 30 and above
Found in
src/main/java/androidx/core/view/ViewCompat.java
at line 2040:Reflective access to mAttachInfo will throw an exception when targeting API 30 and above
Found in
src/main/java/androidx/core/view/WindowInsetsCompat.java
at line 2128: