|
8 | 8 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
9 | 9 | <location |
10 | 10 | file="src/full/kotlin/io/homeassistant/companion/android/sensors/ActivitySensorManager.kt" |
11 | | - line="231" |
| 11 | + line="236" |
12 | 12 | column="13"/> |
13 | 13 | </issue> |
14 | 14 |
|
|
19 | 19 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
20 | 20 | <location |
21 | 21 | file="src/full/kotlin/io/homeassistant/companion/android/sensors/ActivitySensorManager.kt" |
22 | | - line="236" |
| 22 | + line="241" |
23 | 23 | column="17"/> |
24 | 24 | </issue> |
25 | 25 |
|
|
30 | 30 | errorLine2=" ^"> |
31 | 31 | <location |
32 | 32 | file="src/full/kotlin/io/homeassistant/companion/android/sensors/ActivitySensorManager.kt" |
33 | | - line="256" |
| 33 | + line="261" |
34 | 34 | column="25"/> |
35 | 35 | </issue> |
36 | 36 |
|
|
41 | 41 | errorLine2=" ^"> |
42 | 42 | <location |
43 | 43 | file="src/full/kotlin/io/homeassistant/companion/android/sensors/ActivitySensorManager.kt" |
44 | | - line="264" |
| 44 | + line="269" |
45 | 45 | column="25"/> |
46 | 46 | </issue> |
47 | 47 |
|
|
52 | 52 | errorLine2=" ^"> |
53 | 53 | <location |
54 | 54 | file="src/full/kotlin/io/homeassistant/companion/android/sensors/ActivitySensorManager.kt" |
55 | | - line="272" |
| 55 | + line="277" |
56 | 56 | column="25"/> |
57 | 57 | </issue> |
58 | 58 |
|
|
85 | 85 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
86 | 86 | <location |
87 | 87 | file="src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt" |
88 | | - line="1104" |
| 88 | + line="1101" |
89 | 89 | column="17"/> |
90 | 90 | </issue> |
91 | 91 |
|
|
107 | 107 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
108 | 108 | <location |
109 | 109 | file="src/full/AndroidManifest.xml" |
110 | | - line="130" |
| 110 | + line="138" |
111 | 111 | column="27"/> |
112 | 112 | </issue> |
113 | 113 |
|
|
195 | 195 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
196 | 196 | <location |
197 | 197 | file="src/full/AndroidManifest.xml" |
198 | | - line="118" |
| 198 | + line="126" |
199 | 199 | column="13"/> |
200 | 200 | </issue> |
201 | 201 |
|
|
525 | 525 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
526 | 526 | <location |
527 | 527 | file="src/main/kotlin/io/homeassistant/companion/android/sensors/CarSensorManager.kt" |
528 | | - line="268" |
| 528 | + line="274" |
529 | 529 | column="20"/> |
530 | 530 | </issue> |
531 | 531 |
|
|
536 | 536 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
537 | 537 | <location |
538 | 538 | file="src/main/kotlin/io/homeassistant/companion/android/sensors/CarSensorManager.kt" |
539 | | - line="279" |
| 539 | + line="285" |
540 | 540 | column="33"/> |
541 | 541 | </issue> |
542 | 542 |
|
|
547 | 547 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
548 | 548 | <location |
549 | 549 | file="src/main/kotlin/io/homeassistant/companion/android/sensors/CarSensorManager.kt" |
550 | | - line="309" |
| 550 | + line="315" |
551 | 551 | column="13"/> |
552 | 552 | </issue> |
553 | 553 |
|
|
686 | 686 | <issue |
687 | 687 | id="AutoboxingStateCreation" |
688 | 688 | message="Prefer `mutableIntStateOf` instead of `mutableStateOf`" |
689 | | - errorLine1=" mutableStateOf(currentServerId)," |
690 | | - errorLine2=" ~~~~~~~~~~~~~~"> |
| 689 | + errorLine1=" mutableStateOf(currentServerId())," |
| 690 | + errorLine2=" ~~~~~~~~~~~~~~"> |
691 | 691 | <location |
692 | 692 | file="src/main/kotlin/io/homeassistant/companion/android/settings/shortcuts/ManageShortcutsViewModel.kt" |
693 | | - line="117" |
694 | | - column="21"/> |
| 693 | + line="108" |
| 694 | + column="25"/> |
695 | 695 | </issue> |
696 | 696 |
|
697 | 697 | <issue |
|
967 | 967 | errorLine2=" ~~~~~~~~~~~~~~~~"> |
968 | 968 | <location |
969 | 969 | file="src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidget.kt" |
970 | | - line="307" |
| 970 | + line="306" |
971 | 971 | column="25"/> |
972 | 972 | </issue> |
973 | 973 |
|
974 | 974 | <issue |
975 | 975 | id="AvoidAnySerializer" |
976 | 976 | message="Prefer polymorphic serializer over AnySerializer." |
977 | | - errorLine1=" MapAnySerializer," |
978 | | - errorLine2=" ~~~~~~~~~~~~~~~~"> |
| 977 | + errorLine1=" MapAnySerializer," |
| 978 | + errorLine2=" ~~~~~~~~~~~~~~~~"> |
979 | 979 | <location |
980 | 980 | file="src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidgetConfigureActivity.kt" |
981 | | - line="157" |
982 | | - column="29"/> |
| 981 | + line="163" |
| 982 | + column="33"/> |
983 | 983 | </issue> |
984 | 984 |
|
985 | 985 | <issue |
|
989 | 989 | errorLine2=" ~~~~~~~~~~~~~~~~"> |
990 | 990 | <location |
991 | 991 | file="src/main/kotlin/io/homeassistant/companion/android/widgets/button/ButtonWidgetConfigureActivity.kt" |
992 | | - line="491" |
| 992 | + line="510" |
993 | 993 | column="49"/> |
994 | 994 | </issue> |
995 | 995 |
|
|
1000 | 1000 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
1001 | 1001 | <location |
1002 | 1002 | file="src/main/kotlin/io/homeassistant/companion/android/settings/shortcuts/ManageShortcutsViewModel.kt" |
1003 | | - line="166" |
| 1003 | + line="165" |
1004 | 1004 | column="13"/> |
1005 | 1005 | </issue> |
1006 | 1006 |
|
|
1011 | 1011 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
1012 | 1012 | <location |
1013 | 1013 | file="src/main/kotlin/io/homeassistant/companion/android/barcode/BarcodeScannerActivity.kt" |
1014 | | - line="138" |
| 1014 | + line="136" |
1015 | 1015 | column="80"/> |
1016 | 1016 | </issue> |
1017 | 1017 |
|
|
1059 | 1059 | column="33"/> |
1060 | 1060 | </issue> |
1061 | 1061 |
|
1062 | | - <issue |
1063 | | - id="UseKtx" |
1064 | | - message="Use the KTX extension function `Bitmap.scale` instead?" |
1065 | | - errorLine1=" return Bitmap.createScaledBitmap(this, newWidth, newHeight, false)" |
1066 | | - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
1067 | | - <location |
1068 | | - file="src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt" |
1069 | | - line="1539" |
1070 | | - column="16"/> |
1071 | | - </issue> |
1072 | | - |
1073 | | - <issue |
1074 | | - id="UseKtx" |
1075 | | - message="Use the KTX extension function `String.toUri` instead?" |
1076 | | - errorLine1=" this.data = Uri.parse(" |
1077 | | - errorLine2=" ^"> |
1078 | | - <location |
1079 | | - file="src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt" |
1080 | | - line="1669" |
1081 | | - column="33"/> |
1082 | | - </issue> |
1083 | | - |
1084 | | - <issue |
1085 | | - id="UseKtx" |
1086 | | - message="Use the KTX extension function `String.toUri` instead?" |
1087 | | - errorLine1=" this.data = Uri.parse(" |
1088 | | - errorLine2=" ^"> |
1089 | | - <location |
1090 | | - file="src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt" |
1091 | | - line="1669" |
1092 | | - column="33"/> |
1093 | | - </issue> |
1094 | | - |
1095 | | - <issue |
1096 | | - id="UseKtx" |
1097 | | - message="Use the KTX extension function `String.toUri` instead?" |
1098 | | - errorLine1=" Uri.parse(" |
1099 | | - errorLine2=" ^"> |
1100 | | - <location |
1101 | | - file="src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt" |
1102 | | - line="1706" |
1103 | | - column="25"/> |
1104 | | - </issue> |
1105 | | - |
1106 | | - <issue |
1107 | | - id="UseKtx" |
1108 | | - message="Use the KTX extension function `String.toUri` instead?" |
1109 | | - errorLine1=" Uri.parse(" |
1110 | | - errorLine2=" ^"> |
1111 | | - <location |
1112 | | - file="src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt" |
1113 | | - line="1706" |
1114 | | - column="25"/> |
1115 | | - </issue> |
1116 | | - |
1117 | | - <issue |
1118 | | - id="UseKtx" |
1119 | | - message="Use the KTX extension function `String.toUri` instead?" |
1120 | | - errorLine1=" Uri.parse("package:${context.packageName}")," |
1121 | | - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
1122 | | - <location |
1123 | | - file="src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt" |
1124 | | - line="1753" |
1125 | | - column="13"/> |
1126 | | - </issue> |
1127 | | - |
1128 | | - <issue |
1129 | | - id="UseKtx" |
1130 | | - message="Use the KTX extension function `String.toUri` instead?" |
1131 | | - errorLine1=" Uri.parse("package:${context.packageName}")," |
1132 | | - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
1133 | | - <location |
1134 | | - file="src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt" |
1135 | | - line="1769" |
1136 | | - column="13"/> |
1137 | | - </issue> |
1138 | | - |
1139 | | - <issue |
1140 | | - id="UseKtx" |
1141 | | - message="Use the KTX extension function `String.toUri` instead?" |
1142 | | - errorLine1=" intent.data = Uri.parse("package:" + context.packageName)" |
1143 | | - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
1144 | | - <location |
1145 | | - file="src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt" |
1146 | | - line="1778" |
1147 | | - column="23"/> |
1148 | | - </issue> |
1149 | | - |
1150 | | - <issue |
1151 | | - id="UseKtx" |
1152 | | - message="Use the KTX extension function `String.toUri` instead?" |
1153 | | - errorLine1=" intent.data = Uri.parse("package:" + context.packageName)" |
1154 | | - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
1155 | | - <location |
1156 | | - file="src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt" |
1157 | | - line="1778" |
1158 | | - column="23"/> |
1159 | | - </issue> |
1160 | | - |
1161 | | - <issue |
1162 | | - id="UseKtx" |
1163 | | - message="Use the KTX extension function `String.toUri` instead?" |
1164 | | - errorLine1=" val intentUri = if (!data[INTENT_URI].isNullOrEmpty()) Uri.parse(data[INTENT_URI]) else null" |
1165 | | - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
1166 | | - <location |
1167 | | - file="src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt" |
1168 | | - line="1901" |
1169 | | - column="68"/> |
1170 | | - </issue> |
1171 | | - |
1172 | | - <issue |
1173 | | - id="UseKtx" |
1174 | | - message="Use the KTX extension function `String.toUri` instead?" |
1175 | | - errorLine1=" marketIntent.data = Uri.parse(" |
1176 | | - errorLine2=" ^"> |
1177 | | - <location |
1178 | | - file="src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt" |
1179 | | - line="1967" |
1180 | | - column="37"/> |
1181 | | - </issue> |
1182 | | - |
1183 | | - <issue |
1184 | | - id="UseKtx" |
1185 | | - message="Use the KTX extension function `String.toUri` instead?" |
1186 | | - errorLine1=" marketIntent.data = Uri.parse(" |
1187 | | - errorLine2=" ^"> |
1188 | | - <location |
1189 | | - file="src/main/kotlin/io/homeassistant/companion/android/notifications/MessagingManager.kt" |
1190 | | - line="1967" |
1191 | | - column="37"/> |
1192 | | - </issue> |
1193 | | - |
1194 | 1062 | <issue |
1195 | 1063 | id="UseKtx" |
1196 | 1064 | message="Use the KTX extension function `String.toUri` instead?" |
|
1319 | 1187 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
1320 | 1188 | <location |
1321 | 1189 | file="src/main/kotlin/io/homeassistant/companion/android/webview/WebViewPresenterImpl.kt" |
1322 | | - line="139" |
| 1190 | + line="138" |
1323 | 1191 | column="27"/> |
1324 | 1192 | </issue> |
1325 | 1193 |
|
|
1330 | 1198 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
1331 | 1199 | <location |
1332 | 1200 | file="src/main/kotlin/io/homeassistant/companion/android/webview/WebViewPresenterImpl.kt" |
1333 | | - line="411" |
| 1201 | + line="410" |
1334 | 1202 | column="13"/> |
1335 | 1203 | </issue> |
1336 | 1204 |
|
|
1359 | 1227 | <issue |
1360 | 1228 | id="SetTextI18n" |
1361 | 1229 | message="Number formatting does not take into account locale settings. Consider using `String.format` instead." |
1362 | | - errorLine1=" binding.textSize.setText(staticWidget.textSize.toInt().toString())" |
1363 | | - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 1230 | + errorLine1=" binding.textSize.setText(staticWidget.textSize.toInt().toString())" |
| 1231 | + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
1364 | 1232 | <location |
1365 | 1233 | file="src/main/kotlin/io/homeassistant/companion/android/widgets/entity/EntityWidgetConfigureActivity.kt" |
1366 | | - line="148" |
1367 | | - column="38"/> |
| 1234 | + line="140" |
| 1235 | + column="42"/> |
1368 | 1236 | </issue> |
1369 | 1237 |
|
1370 | 1238 | <issue |
1371 | 1239 | id="SetTextI18n" |
1372 | 1240 | message="Number formatting does not take into account locale settings. Consider using `String.format` instead." |
1373 | | - errorLine1=" binding.textSize.setText(templateWidget.textSize.toInt().toString())" |
1374 | | - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 1241 | + errorLine1=" binding.textSize.setText(templateWidget.textSize.toInt().toString())" |
| 1242 | + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
1375 | 1243 | <location |
1376 | 1244 | file="src/main/kotlin/io/homeassistant/companion/android/widgets/template/TemplateWidgetConfigureActivity.kt" |
1377 | | - line="99" |
1378 | | - column="38"/> |
| 1245 | + line="104" |
| 1246 | + column="42"/> |
1379 | 1247 | </issue> |
1380 | 1248 |
|
1381 | 1249 | </issues> |
0 commit comments