This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 76
/
lint-baseline.xml
70 lines (63 loc) · 2.97 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
68
69
70
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.4.0-alpha01" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha01">
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.content.Context#getUser`"
errorLine1=" if (userId >= 0 && (context.getUser().getIdentifier() != userId)) {"
errorLine2=" ~~~~~~~">
<location
file="packages/providers/MediaProvider/src/com/android/providers/media/util/FileUtils.java"
line="874"
column="37"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.content.Context#getUser`"
errorLine1=" owner = context.getUser();"
errorLine2=" ~~~~~~~">
<location
file="packages/providers/MediaProvider/src/com/android/providers/media/MediaService.java"
line="166"
column="29"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.os.Build#isDebuggable`"
errorLine1=" if (Build.isDebuggable()"
errorLine2=" ~~~~~~~~~~~~">
<location
file="packages/providers/MediaProvider/src/com/android/providers/media/photopicker/PhotoPickerActivity.java"
line="630"
column="23"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.content.Context#getUser`"
errorLine1=" return getUserId(uri) == mContext.getUser().getIdentifier();"
errorLine2=" ~~~~~~~">
<location
file="packages/providers/MediaProvider/src/com/android/providers/media/PickerUriResolver.java"
line="369"
column="43"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `java.util.concurrent.CompletableFuture#completeOnTimeout`"
errorLine1=" syncFuture.completeOnTimeout(FUTURE_RESULT, syncFutureTimeout, timeUnit);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/SyncTracker.java"
line="63"
column="20"/>
</issue>
<issue
id="NewApi"
message="Call requires API level 31 (current min is 30): `android.os.UserManager#isMediaSharedWithParent`"
errorLine1=" && userManager.isMediaSharedWithParent();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="packages/providers/MediaProvider/src/com/android/providers/media/util/UserCache.java"
line="116"
column="32"/>
</issue>
</issues>