|
4 | 4 | <issue |
5 | 5 | id="MissingPermission" |
6 | 6 | message="Call requires permission which may be rejected by user: code should explicitly check to see if permission is available (with `checkPermission`) or explicitly handle a potential `SecurityException`" |
7 | | - errorLine1=" telephonyManager.isDataRoamingEnabled" |
8 | | - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 7 | + errorLine1=" telephonyManager.isDataRoamingEnabled" |
| 8 | + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
9 | 9 | <location |
10 | 10 | file="src/main/kotlin/io/homeassistant/companion/android/common/sensors/MobileDataManager.kt" |
11 | | - line="77" |
12 | | - column="17"/> |
| 11 | + line="82" |
| 12 | + column="21"/> |
13 | 13 | </issue> |
14 | 14 |
|
15 | 15 | <issue |
16 | 16 | id="MissingPermission" |
17 | 17 | message="Call requires permission which may be rejected by user: code should explicitly check to see if permission is available (with `checkPermission`) or explicitly handle a potential `SecurityException`" |
18 | | - errorLine1=" telephonyManager.isDataEnabled" |
19 | | - errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 18 | + errorLine1=" telephonyManager.isDataEnabled" |
| 19 | + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
20 | 20 | <location |
21 | 21 | file="src/main/kotlin/io/homeassistant/companion/android/common/sensors/MobileDataManager.kt" |
22 | | - line="79" |
23 | | - column="17"/> |
| 22 | + line="85" |
| 23 | + column="21"/> |
24 | 24 | </issue> |
25 | 25 |
|
26 | 26 | <issue |
27 | 27 | id="MissingPermission" |
28 | 28 | message="Call requires permission which may be rejected by user: code should explicitly check to see if permission is available (with `checkPermission`) or explicitly handle a potential `SecurityException`" |
29 | | - errorLine1=" val subscription = context.applicationContext.getSystemService<SubscriptionManager>()" |
| 29 | + errorLine1=" val subscription = applicationContext.getSystemService<SubscriptionManager>()" |
30 | 30 | errorLine2=" ^"> |
31 | 31 | <location |
32 | 32 | file="src/main/kotlin/io/homeassistant/companion/android/common/sensors/PhoneStateSensorManager.kt" |
33 | | - line="274" |
| 33 | + line="285" |
34 | 34 | column="28"/> |
35 | 35 | </issue> |
36 | 36 |
|
37 | 37 | <issue |
38 | 38 | id="MissingPermission" |
39 | 39 | message="Call requires permission which may be rejected by user: code should explicitly check to see if permission is available (with `checkPermission`) or explicitly handle a potential `SecurityException`" |
40 | | - errorLine1=" val subscription = context.applicationContext.getSystemService<SubscriptionManager>()" |
| 40 | + errorLine1=" val subscription = applicationContext.getSystemService<SubscriptionManager>()" |
41 | 41 | errorLine2=" ^"> |
42 | 42 | <location |
43 | 43 | file="src/main/kotlin/io/homeassistant/companion/android/common/sensors/PhoneStateSensorManager.kt" |
44 | | - line="319" |
| 44 | + line="329" |
45 | 45 | column="28"/> |
46 | 46 | </issue> |
47 | 47 |
|
|
52 | 52 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
53 | 53 | <location |
54 | 54 | file="src/main/kotlin/io/homeassistant/companion/android/common/sensors/PhoneStateSensorManager.kt" |
55 | | - line="327" |
| 55 | + line="337" |
56 | 56 | column="46"/> |
57 | 57 | </issue> |
58 | 58 |
|
|
85 | 85 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
86 | 86 | <location |
87 | 87 | file="src/main/kotlin/io/homeassistant/companion/android/common/sensors/StorageSensorManager.kt" |
88 | | - line="138" |
| 88 | + line="145" |
89 | 89 | column="42"/> |
90 | 90 | </issue> |
91 | 91 |
|
| 92 | + <issue |
| 93 | + id="NewApi" |
| 94 | + message="Call requires API level 29 (current min is 23): `android.telephony.TelephonyManager#isDataRoamingEnabled`" |
| 95 | + errorLine1=" telephonyManager.isDataRoamingEnabled" |
| 96 | + errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| 97 | + <location |
| 98 | + file="src/main/kotlin/io/homeassistant/companion/android/common/sensors/MobileDataManager.kt" |
| 99 | + line="82" |
| 100 | + column="38"/> |
| 101 | + </issue> |
| 102 | + |
| 103 | + <issue |
| 104 | + id="NewApi" |
| 105 | + message="Call requires API level 26 (current min is 23): `android.telephony.TelephonyManager#isDataEnabled`" |
| 106 | + errorLine1=" telephonyManager.isDataEnabled" |
| 107 | + errorLine2=" ~~~~~~~~~~~~~"> |
| 108 | + <location |
| 109 | + file="src/main/kotlin/io/homeassistant/companion/android/common/sensors/MobileDataManager.kt" |
| 110 | + line="85" |
| 111 | + column="38"/> |
| 112 | + </issue> |
| 113 | + |
92 | 114 | <issue |
93 | 115 | id="AppBundleLocaleChanges" |
94 | 116 | message="Found dynamic locale changes, but did not find corresponding Play Core library calls for downloading languages and splitting by language is not disabled in the `bundle` configuration" |
95 | 117 | errorLine1=" config.setLocale(Locale("en"))" |
96 | 118 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
97 | 119 | <location |
98 | 120 | file="src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorReceiverBase.kt" |
99 | | - line="403" |
| 121 | + line="411" |
100 | 122 | column="9"/> |
101 | 123 | </issue> |
102 | 124 |
|
|
129 | 151 | errorLine2=" ~~~~~~~~~~~~~"> |
130 | 152 | <location |
131 | 153 | file="src/main/kotlin/io/homeassistant/companion/android/common/sensors/SensorManager.kt" |
132 | | - line="299" |
| 154 | + line="296" |
133 | 155 | column="61"/> |
134 | 156 | </issue> |
135 | 157 |
|
|
0 commit comments