123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344 |
- <?xml version="1.0" encoding="UTF-8"?>
- <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">
- <issue
- id="MissingPermission"
- message="Missing permissions required by ConnectivityManager.getActiveNetworkInfo: android.permission.ACCESS_NETWORK_STATE"
- errorLine1=" NetworkInfo networkInfo = cm.getActiveNetworkInfo();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
- line="850"
- column="29"/>
- </issue>
- <issue
- id="Range"
- message="Value must be ≥ 0 but `getColumnIndex` can be -1"
- errorLine1=" String messageId = c.getString(c"
- errorLine2=" ^">
- <location
- file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
- line="332"
- column="36"/>
- </issue>
- <issue
- id="Range"
- message="Value must be ≥ 0 but `getColumnIndex` can be -1"
- errorLine1=" String clientHandle = c.getString(c"
- errorLine2=" ^">
- <location
- file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
- line="334"
- column="39"/>
- </issue>
- <issue
- id="Range"
- message="Value must be ≥ 0 but `getColumnIndex` can be -1"
- errorLine1=" String topic = c.getString(c"
- errorLine2=" ^">
- <location
- file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
- line="336"
- column="32"/>
- </issue>
- <issue
- id="Range"
- message="Value must be ≥ 0 but `getColumnIndex` can be -1"
- errorLine1=" byte[] payload = c.getBlob(c"
- errorLine2=" ^">
- <location
- file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
- line="338"
- column="32"/>
- </issue>
- <issue
- id="Range"
- message="Value must be ≥ 0 but `getColumnIndex` can be -1"
- errorLine1=" int qos = c.getInt(c.getColumnIndex(MqttServiceConstants.QOS));"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
- line="340"
- column="24"/>
- </issue>
- <issue
- id="Range"
- message="Value must be ≥ 0 but `getColumnIndex` can be -1"
- errorLine1=" boolean retained = Boolean.parseBoolean(c.getString(c"
- errorLine2=" ^">
- <location
- file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
- line="341"
- column="57"/>
- </issue>
- <issue
- id="Range"
- message="Value must be ≥ 0 but `getColumnIndex` can be -1"
- errorLine1=" boolean dup = Boolean.parseBoolean(c.getString(c"
- errorLine2=" ^">
- <location
- file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
- line="343"
- column="52"/>
- </issue>
- <issue
- id="SuspiciousIndentation"
- message="The indentation string here is different from on the previous line (`" "` vs `\t`)"
- errorLine1=" try {"
- errorLine2="~~">
- <location
- file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
- line="255"
- column="1"/>
- <location
- file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
- line="253"
- column="1"
- message="Previous line indentation here"/>
- </issue>
- <issue
- id="SuspiciousIndentation"
- message="The indentation string here is different from on the previous line (`" "` vs `\t`)"
- errorLine1=" return hasNext;"
- errorLine2=" ~~">
- <location
- file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
- line="327"
- column="3"/>
- <location
- file="src/main/java/org/eclipse/paho/android/service/DatabaseMessageStore.java"
- line="324"
- column="3"
- message="Previous line indentation here"/>
- </issue>
- <issue
- id="SuspiciousIndentation"
- message="The indentation string here is different from on the previous line (`" "` vs `\t`)"
- errorLine1=" for (MqttConnection client : connections.values()) {"
- errorLine2="~">
- <location
- file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
- line="341"
- column="1"/>
- <location
- file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
- line="340"
- column="1"
- message="Previous line indentation here"/>
- </issue>
- <issue
- id="SuspiciousIndentation"
- message="The indentation string here is different from on the previous line (`" "` vs `\t`)"
- errorLine1=" if(this.isOnline()){"
- errorLine2="~~">
- <location
- file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
- line="345"
- column="1"/>
- <location
- file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
- line="344"
- column="1"
- message="Previous line indentation here"/>
- </issue>
- <issue
- id="SuspiciousIndentation"
- message="The indentation string here is different from on the previous line (`" "` vs `\t`)"
- errorLine1=" unregisterBroadcastReceivers();"
- errorLine2="~~">
- <location
- file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
- line="649"
- column="1"/>
- <location
- file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
- line="645"
- column="1"
- message="Previous line indentation here"/>
- </issue>
- <issue
- id="SuspiciousIndentation"
- message="The indentation string here is different from on the previous line (`" "` vs `\t`)"
- errorLine1=" traceDebug(TAG, "Internal network status receive.");"
- errorLine2="~~~">
- <location
- file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
- line="819"
- column="1"/>
- <location
- file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
- line="818"
- column="1"
- message="Previous line indentation here"/>
- </issue>
- <issue
- id="SuspiciousIndentation"
- message="The indentation string here is different from on the previous line (`" "` vs `\t`)"
- errorLine1=" reconnect();"
- errorLine2="~~~~">
- <location
- file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
- line="834"
- column="1"/>
- <location
- file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
- line="831"
- column="1"
- message="Previous line indentation here"/>
- </issue>
- <issue
- id="SuspiciousIndentation"
- message="The indentation string here is different from on the previous line (`" "` vs `\t`)"
- errorLine1=" return false;"
- errorLine2="~~">
- <location
- file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
- line="859"
- column="1"/>
- <location
- file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
- line="852"
- column="1"
- message="Previous line indentation here"/>
- </issue>
- <issue
- id="GradleDependency"
- message="A newer version of `compileSdkVersion` than 32 is available: 34"
- errorLine1=" compileSdk 32"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="build.gradle"
- line="6"
- column="5"/>
- </issue>
- <issue
- id="GradleDependency"
- message="A newer version of androidx.appcompat:appcompat than 1.3.0 is available: 1.6.1"
- errorLine1=" implementation 'androidx.appcompat:appcompat:1.3.0'"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="build.gradle"
- line="34"
- column="20"/>
- </issue>
- <issue
- id="GradleDependency"
- message="A newer version of com.google.android.material:material than 1.4.0 is available: 1.10.0"
- errorLine1=" implementation 'com.google.android.material:material:1.4.0'"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="build.gradle"
- line="35"
- column="20"/>
- </issue>
- <issue
- id="GradleDependency"
- message="A newer version of androidx.test.ext:junit than 1.1.3 is available: 1.1.5"
- errorLine1=" androidTestImplementation 'androidx.test.ext:junit:1.1.3'"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="build.gradle"
- line="37"
- column="31"/>
- </issue>
- <issue
- id="GradleDependency"
- message="A newer version of androidx.test.espresso:espresso-core than 3.4.0 is available: 3.5.1"
- errorLine1=" androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="build.gradle"
- line="38"
- column="31"/>
- </issue>
- <issue
- id="ExpiredTargetSdkVersion"
- message="Google Play requires that apps target API level 33 or higher."
- errorLine1=" targetSdk 32"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="build.gradle"
- line="10"
- column="9"/>
- </issue>
- <issue
- id="ObsoleteSdkInt"
- message="Unnecessary; SDK_INT is always >= 27"
- errorLine1=" if(Build.VERSION.SDK_INT >= 23){"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/org/eclipse/paho/android/service/AlarmPingSender.java"
- line="112"
- column="12"/>
- </issue>
- <issue
- id="ObsoleteSdkInt"
- message="Unnecessary; SDK_INT is always >= 27"
- errorLine1=" } else if (Build.VERSION.SDK_INT >= 19) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/org/eclipse/paho/android/service/AlarmPingSender.java"
- line="118"
- column="14"/>
- </issue>
- <issue
- id="ObsoleteSdkInt"
- message="Unnecessary; SDK_INT is never < 27"
- errorLine1=" if (Build.VERSION.SDK_INT < 14 /**Build.VERSION_CODES.ICE_CREAM_SANDWICH**/) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
- line="781"
- column="7"/>
- </issue>
- <issue
- id="ObsoleteSdkInt"
- message="Unnecessary; SDK_INT is never < 27"
- errorLine1=" if (Build.VERSION.SDK_INT < 14 /**Build.VERSION_CODES.ICE_CREAM_SANDWICH**/) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/org/eclipse/paho/android/service/MqttService.java"
- line="801"
- column="8"/>
- </issue>
- <issue
- id="ObsoleteSdkInt"
- message="This folder configuration (`v11`) is unnecessary; `minSdkVersion` is 27. Merge all the resources in this folder into `values`.">
- <location
- file="src/main/res/values-v11"/>
- </issue>
- <issue
- id="ObsoleteSdkInt"
- message="This folder configuration (`v14`) is unnecessary; `minSdkVersion` is 27. Merge all the resources in this folder into `values`.">
- <location
- file="src/main/res/values-v14"/>
- </issue>
- </issues>
|