aboutsummaryrefslogtreecommitdiffstats
path: root/java/lint-baseline.xml
blob: 02f41f4e4c92e3babc9c3b45a3c35edf2c58abe2 (about) (plain) (blame)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?xml version="1.0" encoding="UTF-8"?>
<issues format="5" by="lint 4.1.0" client="cli" variant="all" version="4.1.0">

    <issue
        id="NewApi"
        message="Call requires API level 23 (current min is 21): `android.graphics.Paint#hasGlyph`"
        errorLine1="            return paint.hasGlyph(switzerland);"
        errorLine2="                         ~~~~~~~~">
        <location
            file="packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/EmojiCategory.java"
            line="445"
            column="26"/>
    </issue>

    <issue
        id="NewApi"
        message="Call requires API level 23 (current min is 21): `android.graphics.Paint#hasGlyph`"
        errorLine1="            return paint.hasGlyph(cheese);"
        errorLine2="                         ~~~~~~~~">
        <location
            file="packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/EmojiCategory.java"
            line="461"
            column="26"/>
    </issue>

    <issue
        id="NewApi"
        message="Call requires API level 23 (current min is 21): `android.content.Context#getSystemService`"
        errorLine1="        final WindowManager wm = getSystemService(WindowManager.class);"
        errorLine2="                                 ~~~~~~~~~~~~~~~~">
        <location
            file="packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java"
            line="606"
            column="34"/>
    </issue>

    <issue
        id="NewApi"
        message="Call requires API level 23 (current min is 21): `android.content.Context#getSystemService`"
        errorLine1="        final WindowManager wm = getSystemService(WindowManager.class);"
        errorLine2="                                 ~~~~~~~~~~~~~~~~">
        <location
            file="packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java"
            line="804"
            column="34"/>
    </issue>

    <issue
        id="NewApi"
        message="Call requires API level 23 (current min is 21): `android.app.ActivityOptions#makeBasic`"
        errorLine1="                ActivityOptions.makeBasic().setLaunchDisplayId(currentDisplayId).toBundle());"
        errorLine2="                                ~~~~~~~~~">
        <location
            file="packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java"
            line="1823"
            column="33"/>
    </issue>

    <issue
        id="NewApi"
        message="Call requires API level 26 (current min is 21): `android.app.ActivityOptions#setLaunchDisplayId`"
        errorLine1="                ActivityOptions.makeBasic().setLaunchDisplayId(currentDisplayId).toBundle());"
        errorLine2="                                            ~~~~~~~~~~~~~~~~~~">
        <location
            file="packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java"
            line="1823"
            column="45"/>
    </issue>

    <issue
        id="NewApi"
        message="Call requires API level 23 (current min is 21): `android.content.Context#getSystemService`"
        errorLine1="        final UserManager userManager = context.getSystemService(UserManager.class);"
        errorLine2="                                                ~~~~~~~~~~~~~~~~">
        <location
            file="packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/UserManagerCompatUtils.java"
            line="69"
            column="49"/>
    </issue>

</issues>