1<?xml version="1.0" encoding="UTF-8"?>
2<issues format="6" by="lint 8.4.0-alpha08" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha08">
3
4    <issue
5        id="InvalidAdServicesJobService"
6        message="Avoid using new classes in AdServices JobService field Initializers. Due to the fact that ExtServices can OTA to any AdServices build, JobServices code needs to be properly gated to avoid NoClassDefFoundError. NoClassDefFoundError can happen when new class is used in ExtServices build, and the error happens when the device OTA to old AdServices build on T which does not contain the new class definition."
7        errorLine1="            mRunningFuturesMap = new ConcurrentHashMap&lt;>();"
8        errorLine2="                                 ~~~~~~~~~~~~~~~~~~~~~~~~~">
9        <location
10            file="packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/spe/framework/AbstractJobService.java"
11            line="80"
12            column="34"/>
13    </issue>
14
15    <issue
16        id="NewAdServicesFile"
17        message="Please use FileCompatUtils to ensure any newly added files have a name that begins with &quot;adservices&quot; or create the files in a subdirectory called &quot;adservices/&quot;"
18        errorLine1="                mContext.getSharedPreferences(SHARED_PREFS_BACKGROUND_JOBS, Context.MODE_PRIVATE);"
19        errorLine2="                         ~~~~~~~~~~~~~~~~~~~~">
20        <location
21            file="packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/spe/logging/JobServiceLogger.java"
22            line="258"
23            column="26"/>
24    </issue>
25
26    <issue
27        id="NewAdServicesFile"
28        message="Please use FileCompatUtils to ensure any newly added files have a name that begins with &quot;adservices&quot; or create the files in a subdirectory called &quot;adservices/&quot;"
29        errorLine1="                mContext.getSharedPreferences(SHARED_PREFS_BACKGROUND_JOBS, Context.MODE_PRIVATE);"
30        errorLine2="                         ~~~~~~~~~~~~~~~~~~~~">
31        <location
32            file="packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/spe/logging/JobServiceLogger.java"
33            line="399"
34            column="26"/>
35    </issue>
36
37</issues>
38