lint-baseline.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <issues format="6" by="lint 8.5.1" type="baseline" client="gradle" dependencies="false" name="AGP (8.5.1)" variant="all" version="8.5.1">
  3. <issue
  4. id="MissingPermission"
  5. message="Missing permissions required by ConnectivityManager.getActiveNetworkInfo: android.permission.ACCESS_NETWORK_STATE"
  6. errorLine1=" NetworkInfo networkInfo = cm.getActiveNetworkInfo();"
  7. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
  8. <location
  9. file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
  10. line="850"
  11. column="29"/>
  12. </issue>
  13. <issue
  14. id="Range"
  15. message="Value must be ≥ 0 but `getColumnIndex` can be -1"
  16. errorLine1=" String messageId = c.getString(c"
  17. errorLine2=" ^">
  18. <location
  19. file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
  20. line="332"
  21. column="36"/>
  22. </issue>
  23. <issue
  24. id="Range"
  25. message="Value must be ≥ 0 but `getColumnIndex` can be -1"
  26. errorLine1=" String clientHandle = c.getString(c"
  27. errorLine2=" ^">
  28. <location
  29. file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
  30. line="334"
  31. column="39"/>
  32. </issue>
  33. <issue
  34. id="Range"
  35. message="Value must be ≥ 0 but `getColumnIndex` can be -1"
  36. errorLine1=" String topic = c.getString(c"
  37. errorLine2=" ^">
  38. <location
  39. file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
  40. line="336"
  41. column="32"/>
  42. </issue>
  43. <issue
  44. id="Range"
  45. message="Value must be ≥ 0 but `getColumnIndex` can be -1"
  46. errorLine1=" byte[] payload = c.getBlob(c"
  47. errorLine2=" ^">
  48. <location
  49. file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
  50. line="338"
  51. column="32"/>
  52. </issue>
  53. <issue
  54. id="Range"
  55. message="Value must be ≥ 0 but `getColumnIndex` can be -1"
  56. errorLine1=" int qos = c.getInt(c.getColumnIndex(MqttServiceConstants.QOS));"
  57. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  58. <location
  59. file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
  60. line="340"
  61. column="24"/>
  62. </issue>
  63. <issue
  64. id="Range"
  65. message="Value must be ≥ 0 but `getColumnIndex` can be -1"
  66. errorLine1=" boolean retained = Boolean.parseBoolean(c.getString(c"
  67. errorLine2=" ^">
  68. <location
  69. file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
  70. line="341"
  71. column="57"/>
  72. </issue>
  73. <issue
  74. id="Range"
  75. message="Value must be ≥ 0 but `getColumnIndex` can be -1"
  76. errorLine1=" boolean dup = Boolean.parseBoolean(c.getString(c"
  77. errorLine2=" ^">
  78. <location
  79. file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
  80. line="343"
  81. column="52"/>
  82. </issue>
  83. <issue
  84. id="SuspiciousIndentation"
  85. message="The indentation string here is different from on the previous line (`&quot; &quot;` vs `\t`)"
  86. errorLine1=" try {"
  87. errorLine2="~~">
  88. <location
  89. file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
  90. line="255"
  91. column="1"/>
  92. <location
  93. file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
  94. line="253"
  95. column="1"
  96. message="Previous line indentation here"/>
  97. </issue>
  98. <issue
  99. id="SuspiciousIndentation"
  100. message="The indentation string here is different from on the previous line (`&quot; &quot;` vs `\t`)"
  101. errorLine1=" return hasNext;"
  102. errorLine2=" ~~">
  103. <location
  104. file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
  105. line="327"
  106. column="3"/>
  107. <location
  108. file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
  109. line="324"
  110. column="3"
  111. message="Previous line indentation here"/>
  112. </issue>
  113. <issue
  114. id="SuspiciousIndentation"
  115. message="The indentation string here is different from on the previous line (`&quot; &quot;` vs `\t`)"
  116. errorLine1=" for (MqttConnection client : connections.values()) {"
  117. errorLine2="~">
  118. <location
  119. file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
  120. line="341"
  121. column="1"/>
  122. <location
  123. file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
  124. line="340"
  125. column="1"
  126. message="Previous line indentation here"/>
  127. </issue>
  128. <issue
  129. id="SuspiciousIndentation"
  130. message="The indentation string here is different from on the previous line (`&quot; &quot;` vs `\t`)"
  131. errorLine1=" if(this.isOnline()){"
  132. errorLine2="~~">
  133. <location
  134. file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
  135. line="345"
  136. column="1"/>
  137. <location
  138. file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
  139. line="344"
  140. column="1"
  141. message="Previous line indentation here"/>
  142. </issue>
  143. <issue
  144. id="SuspiciousIndentation"
  145. message="The indentation string here is different from on the previous line (`&quot; &quot;` vs `\t`)"
  146. errorLine1=" unregisterBroadcastReceivers();"
  147. errorLine2="~~">
  148. <location
  149. file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
  150. line="649"
  151. column="1"/>
  152. <location
  153. file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
  154. line="645"
  155. column="1"
  156. message="Previous line indentation here"/>
  157. </issue>
  158. <issue
  159. id="SuspiciousIndentation"
  160. message="The indentation string here is different from on the previous line (`&quot; &quot;` vs `\t`)"
  161. errorLine1=" traceDebug(TAG, &quot;Internal network status receive.&quot;);"
  162. errorLine2="~~~">
  163. <location
  164. file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
  165. line="819"
  166. column="1"/>
  167. <location
  168. file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
  169. line="818"
  170. column="1"
  171. message="Previous line indentation here"/>
  172. </issue>
  173. <issue
  174. id="SuspiciousIndentation"
  175. message="The indentation string here is different from on the previous line (`&quot; &quot;` vs `\t`)"
  176. errorLine1=" reconnect();"
  177. errorLine2="~~~~">
  178. <location
  179. file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
  180. line="834"
  181. column="1"/>
  182. <location
  183. file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
  184. line="831"
  185. column="1"
  186. message="Previous line indentation here"/>
  187. </issue>
  188. <issue
  189. id="SuspiciousIndentation"
  190. message="The indentation string here is different from on the previous line (`&quot; &quot;` vs `\t`)"
  191. errorLine1=" return false;"
  192. errorLine2="~~">
  193. <location
  194. file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
  195. line="859"
  196. column="1"/>
  197. <location
  198. file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
  199. line="852"
  200. column="1"
  201. message="Previous line indentation here"/>
  202. </issue>
  203. <issue
  204. id="GradleDependency"
  205. message="A newer version of `compileSdkVersion` than 32 is available: 34"
  206. errorLine1=" compileSdk 32"
  207. errorLine2=" ~~~~~~~~~~~~~">
  208. <location
  209. file="build.gradle"
  210. line="6"
  211. column="5"/>
  212. </issue>
  213. <issue
  214. id="GradleDependency"
  215. message="A newer version of androidx.appcompat:appcompat than 1.3.0 is available: 1.6.1"
  216. errorLine1=" implementation &apos;androidx.appcompat:appcompat:1.3.0&apos;"
  217. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  218. <location
  219. file="build.gradle"
  220. line="34"
  221. column="20"/>
  222. </issue>
  223. <issue
  224. id="GradleDependency"
  225. message="A newer version of com.google.android.material:material than 1.4.0 is available: 1.10.0"
  226. errorLine1=" implementation &apos;com.google.android.material:material:1.4.0&apos;"
  227. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  228. <location
  229. file="build.gradle"
  230. line="35"
  231. column="20"/>
  232. </issue>
  233. <issue
  234. id="GradleDependency"
  235. message="A newer version of androidx.test.ext:junit than 1.1.3 is available: 1.1.5"
  236. errorLine1=" androidTestImplementation &apos;androidx.test.ext:junit:1.1.3&apos;"
  237. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  238. <location
  239. file="build.gradle"
  240. line="37"
  241. column="31"/>
  242. </issue>
  243. <issue
  244. id="GradleDependency"
  245. message="A newer version of androidx.test.espresso:espresso-core than 3.4.0 is available: 3.5.1"
  246. errorLine1=" androidTestImplementation &apos;androidx.test.espresso:espresso-core:3.4.0&apos;"
  247. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  248. <location
  249. file="build.gradle"
  250. line="38"
  251. column="31"/>
  252. </issue>
  253. <issue
  254. id="ExpiredTargetSdkVersion"
  255. message="Google Play requires that apps target API level 33 or higher."
  256. errorLine1=" targetSdk 32"
  257. errorLine2=" ~~~~~~~~~~~~">
  258. <location
  259. file="build.gradle"
  260. line="10"
  261. column="9"/>
  262. </issue>
  263. <issue
  264. id="ObsoleteSdkInt"
  265. message="Unnecessary; SDK_INT is always >= 27"
  266. errorLine1=" if(Build.VERSION.SDK_INT >= 23){"
  267. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  268. <location
  269. file="src/main/java/org/eclipse/paho/android/service/AlarmPingSender.java"
  270. line="112"
  271. column="12"/>
  272. </issue>
  273. <issue
  274. id="ObsoleteSdkInt"
  275. message="Unnecessary; SDK_INT is always >= 27"
  276. errorLine1=" } else if (Build.VERSION.SDK_INT >= 19) {"
  277. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  278. <location
  279. file="src/main/java/org/eclipse/paho/android/service/AlarmPingSender.java"
  280. line="118"
  281. column="14"/>
  282. </issue>
  283. <issue
  284. id="ObsoleteSdkInt"
  285. message="Unnecessary; SDK_INT is never &lt; 27"
  286. errorLine1=" if (Build.VERSION.SDK_INT &lt; 14 /**Build.VERSION_CODES.ICE_CREAM_SANDWICH**/) {"
  287. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
  288. <location
  289. file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
  290. line="781"
  291. column="7"/>
  292. </issue>
  293. <issue
  294. id="ObsoleteSdkInt"
  295. message="Unnecessary; SDK_INT is never &lt; 27"
  296. errorLine1=" if (Build.VERSION.SDK_INT &lt; 14 /**Build.VERSION_CODES.ICE_CREAM_SANDWICH**/) {"
  297. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
  298. <location
  299. file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
  300. line="801"
  301. column="8"/>
  302. </issue>
  303. <issue
  304. id="ObsoleteSdkInt"
  305. message="This folder configuration (`v11`) is unnecessary; `minSdkVersion` is 27. Merge all the resources in this folder into `values`.">
  306. <location
  307. file="src/main/res/values-v11"/>
  308. </issue>
  309. <issue
  310. id="ObsoleteSdkInt"
  311. message="This folder configuration (`v14`) is unnecessary; `minSdkVersion` is 27. Merge all the resources in this folder into `values`.">
  312. <location
  313. file="src/main/res/values-v14"/>
  314. </issue>
  315. </issues>