| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 9.0.0-alpha01" type="baseline" client="gradle" dependencies="false" name="AGP (9.0.0-alpha01)" variant="all" version="9.0.0-alpha01"> |
| |
| <issue |
| id="ThreadConstraint" |
| message="Call must be from `@{Main,Ui}Thread`, but context is allowing `@WorkerThread`" |
| errorLine1=" handleLayoutDepthCheckFailure(inflaterStatsLogger);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/> |
| </issue> |
| |
| <issue |
| id="ThreadConstraint" |
| message="Call must be from `@{Main,Ui}Thread`, but context is allowing `@WorkerThread`" |
| errorLine1=" checkLayoutDepth(layout.getRoot(), MAX_LAYOUT_ELEMENT_DEPTH, inflaterStatsLogger);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/> |
| </issue> |
| |
| <issue |
| id="ThreadConstraint" |
| message="Call must be from `@{Main,Ui}Thread`, but context is allowing `@WorkerThread`" |
| errorLine1=" mutation = inflater.computeMutation(prevRenderedMetadata, layout, parentViewProp);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/> |
| </issue> |
| |
| <issue |
| id="ThreadConstraint" |
| message="Call must be from `@{Main,Ui}Thread`, but context is allowing `@WorkerThread`" |
| errorLine1=" InflateResult result = inflater.inflate(inflateParent);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/> |
| </issue> |
| |
| <issue |
| id="ThreadConstraint" |
| message="Argument must allow calling `logInflationFailed()` from `@WorkerThread`, but that call is requiring `@{Main,Ui}Thread`" |
| errorLine1=" inflaterStatsLogger));" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/> |
| </issue> |
| |
| <issue |
| id="WrongThread" |
| message="Constructor FrameLayout must be called from the UI thread, currently inferred thread is worker thread" |
| errorLine1=" inflateParent = new FrameLayout(uiContext);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/> |
| </issue> |
| |
| <issue |
| id="WrongThread" |
| message="Method getChildCount must be called from the UI thread, currently inferred thread is worker thread" |
| errorLine1=" if (inflateParent.getChildCount() > 0) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/> |
| </issue> |
| |
| <issue |
| id="WrongThread" |
| message="Method getChildAt must be called from the UI thread, currently inferred thread is worker thread" |
| errorLine1=" View firstChild = inflateParent.getChildAt(0);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/> |
| </issue> |
| |
| <issue |
| id="WrongThread" |
| message="Method getLayoutParams must be called from the UI thread, currently inferred thread is worker thread" |
| errorLine1=" (FrameLayout.LayoutParams) firstChild.getLayoutParams();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/> |
| </issue> |
| |
| <issue |
| id="WrongThread" |
| message="Method setLayoutParams must be called from the UI thread, currently inferred thread is worker thread" |
| errorLine1=" firstChild.setLayoutParams(childLp);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/> |
| </issue> |
| |
| </issues> |