This repository has been archived by the owner on Jul 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathlint-baseline.xml
67 lines (60 loc) · 2.8 KB
/
lint-baseline.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2019 Fitbit, Inc. All rights reserved.
~
~ This Source Code Form is subject to the terms of the Mozilla Public
~ License, v. 2.0. If a copy of the MPL was not distributed with this
~ file, You can obtain one at https://mozilla.org/MPL/2.0/.
-->
<issues format="4" by="lint 3.1.2">
<issue
id="InlinedApi"
message="Field requires API level 21 (current min is 19): `android.bluetooth.BluetoothGatt#CONNECTION_PRIORITY_LOW_POWER`"
errorLine1=" LOW(BluetoothGatt.CONNECTION_PRIORITY_LOW_POWER),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/fitbit/bluetooth/fbgatt/tx/RequestGattConnectionIntervalTransaction.java"
line="37"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 21 (current min is 19): `android.bluetooth.BluetoothGatt#CONNECTION_PRIORITY_BALANCED`"
errorLine1=" MID(BluetoothGatt.CONNECTION_PRIORITY_BALANCED),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/fitbit/bluetooth/fbgatt/tx/RequestGattConnectionIntervalTransaction.java"
line="38"
column="13"/>
</issue>
<issue
id="InlinedApi"
message="Field requires API level 21 (current min is 19): `android.bluetooth.BluetoothGatt#CONNECTION_PRIORITY_HIGH`"
errorLine1=" HIGH(BluetoothGatt.CONNECTION_PRIORITY_HIGH);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/fitbit/bluetooth/fbgatt/tx/RequestGattConnectionIntervalTransaction.java"
line="39"
column="14"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of com.android.support:multidex than 1.0.2 is available: 1.0.3"
errorLine1=" implementation "com.android.support:multidex:${Versions.multidex}""
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle"
line="35"
column="5"/>
</issue>
<issue
id="StaticFieldLeak"
message="Do not place Android context classes in static fields (static reference to `FitbitGatt` which has field `appContext` pointing to `Context`); this is a memory leak (and also breaks Instant Run)"
errorLine1=" private static final FitbitGatt ourInstance = new FitbitGatt();"
errorLine2=" ~~~~~~">
<location
file="src/main/java/com/fitbit/bluetooth/fbgatt/FitbitGatt.java"
line="50"
column="13"/>
</issue>
</issues>