| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15"> |
| |
| <issue |
| id="RestrictedApi" |
| message="ListenableFutureKt.await can only be called from within the same library group (referenced groupId=`androidx.work` from groupId=`androidx.glance`)" |
| errorLine1=" .result.await()" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/androidx/glance/session/SessionManager.kt"/> |
| </issue> |
| |
| <issue |
| id="RestrictedApi" |
| message="ListenableFutureKt.await can only be called from within the same library group (referenced groupId=`androidx.work` from groupId=`androidx.glance`)" |
| errorLine1=" (WorkManager.getInstance(context).getWorkInfosForUniqueWork(key).await()" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/androidx/glance/session/SessionManager.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" it.children.addAll(children.map { it.copy() })" |
| errorLine2=" ~~~"> |
| <location |
| file="src/main/java/androidx/glance/layout/Box.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" it.children.addAll(children.map { it.copy() })" |
| errorLine2=" ~~~"> |
| <location |
| file="src/main/java/androidx/glance/layout/Column.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" children.joinToString(",\n").prependIndent(" ")" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/glance/Emittables.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" events.forEach { addAction(it) }" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/androidx/glance/session/IdleEventBroadcastReceiver.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" fold(0.dp) { acc, res ->" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/androidx/glance/layout/Padding.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" it.children.addAll(children.map { it.copy() })" |
| errorLine2=" ~~~"> |
| <location |
| file="src/main/java/androidx/glance/layout/Row.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" .any { it.state == WorkInfo.State.RUNNING } && synchronized(sessions) {" |
| errorLine2=" ~~~"> |
| <location |
| file="src/main/java/androidx/glance/session/SessionManager.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" val mask = decorations.fold(0) { acc, decoration ->" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/androidx/glance/text/TextDecoration.kt"/> |
| </issue> |
| |
| <issue |
| id="ListIterator" |
| message="Creating an unnecessary Iterator to iterate through a List" |
| errorLine1=" return "TextDecoration[${values.joinToString(separator = ", ")}]"" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/glance/text/TextDecoration.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInLambda" |
| message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor InteractiveFrameClock has parameter 'nanoTime' with type Function0<Long>." |
| errorLine1=" private val nanoTime: () -> Long = { System.nanoTime() }" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/glance/session/InteractiveFrameClock.kt"/> |
| </issue> |
| |
| </issues> |