summaryrefslogtreecommitdiff
path: root/framework-s/lint-baseline-framework-permission-s.xml
blob: 053c4ed43ab5e8c60883cae1748bfda192beb01d (plain)
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
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.4.0-alpha08" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha08">

    <issue
        id="FlaggedApi"
        message="Method `onGetLegacyFallbackDisabledRoles()` is a flagged API and should be inside an `if (Flags.systemServerRoleControllerEnabled())` check (or annotate the surrounding method `getLegacyFallbackDisabledRoles` with `@FlaggedApi(Flags.FLAG_SYSTEM_SERVER_ROLE_CONTROLLER_ENABLED) to transfer requirement to caller`)"
        errorLine1="                    List&lt;String> legacyFallbackDisabledRoles = onGetLegacyFallbackDisabledRoles();"
        errorLine2="                                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="packages/modules/Permission/framework-s/java/android/app/role/RoleControllerService.java"
            line="197"
            column="64"/>
    </issue>

    <issue
        id="FlaggedApi"
        message="Method `onGetLegacyFallbackDisabledRoles()` is a flagged API and should be inside an `if (Flags.systemServerRoleControllerEnabled())` check (or annotate the surrounding method `getLegacyFallbackDisabledRoles` with `@FlaggedApi(Flags.FLAG_SYSTEM_SERVER_ROLE_CONTROLLER_ENABLED) to transfer requirement to caller`)"
        errorLine1="                List&lt;String> legacyFallbackDisabledRoles = onGetLegacyFallbackDisabledRoles();"
        errorLine2="                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
        <location
            file="packages/modules/Permission/framework-s/java/android/app/role/RoleControllerService.java"
            line="189"
            column="60"/>
    </issue>

</issues>