Oussama Ben Abdelbaki | dd0931f | 2020-08-05 12:17:43 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Jeff Gaston | 19b28c0 | 2020-10-28 17:26:03 -0400 | [diff] [blame] | 2 | <issues format="5" by="lint 4.2.0-alpha15" client="gradle" variant="debug" version="4.2.0-alpha15"> |
| 3 | |
| 4 | <issue |
| 5 | id="InlinedApi" |
| 6 | message="Field requires API level 19 (current min is 14): `android.content.Intent#FLAG_GRANT_PERSISTABLE_URI_PERMISSION`" |
| 7 | errorLine1=" FLAG_INCLUDE_STOPPED_PACKAGES, FLAG_GRANT_PERSISTABLE_URI_PERMISSION," |
| 8 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 9 | <location |
| 10 | file="src/main/java/androidx/activity/result/IntentSenderRequest.java" |
| 11 | line="168" |
| 12 | column="48"/> |
| 13 | </issue> |
| 14 | |
| 15 | <issue |
| 16 | id="InlinedApi" |
| 17 | message="Field requires API level 21 (current min is 14): `android.content.Intent#FLAG_GRANT_PREFIX_URI_PERMISSION`" |
| 18 | errorLine1=" FLAG_GRANT_PREFIX_URI_PERMISSION, FLAG_ACTIVITY_MATCH_EXTERNAL," |
| 19 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 20 | <location |
| 21 | file="src/main/java/androidx/activity/result/IntentSenderRequest.java" |
| 22 | line="169" |
| 23 | column="17"/> |
| 24 | </issue> |
| 25 | |
| 26 | <issue |
| 27 | id="InlinedApi" |
| 28 | message="Field requires API level 28 (current min is 14): `android.content.Intent#FLAG_ACTIVITY_MATCH_EXTERNAL`" |
| 29 | errorLine1=" FLAG_GRANT_PREFIX_URI_PERMISSION, FLAG_ACTIVITY_MATCH_EXTERNAL," |
| 30 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 31 | <location |
| 32 | file="src/main/java/androidx/activity/result/IntentSenderRequest.java" |
| 33 | line="169" |
| 34 | column="51"/> |
| 35 | </issue> |
| 36 | |
| 37 | <issue |
| 38 | id="InlinedApi" |
| 39 | message="Field requires API level 21 (current min is 14): `android.content.Intent#FLAG_ACTIVITY_NEW_DOCUMENT`" |
| 40 | errorLine1=" FLAG_ACTIVITY_NEW_DOCUMENT, FLAG_ACTIVITY_NO_USER_ACTION," |
| 41 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 42 | <location |
| 43 | file="src/main/java/androidx/activity/result/IntentSenderRequest.java" |
| 44 | line="175" |
| 45 | column="17"/> |
| 46 | </issue> |
| 47 | |
| 48 | <issue |
| 49 | id="InlinedApi" |
| 50 | message="Field requires API level 21 (current min is 14): `android.content.Intent#FLAG_ACTIVITY_RETAIN_IN_RECENTS`" |
| 51 | errorLine1=" FLAG_ACTIVITY_RETAIN_IN_RECENTS, FLAG_ACTIVITY_LAUNCH_ADJACENT})" |
| 52 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 53 | <location |
| 54 | file="src/main/java/androidx/activity/result/IntentSenderRequest.java" |
| 55 | line="178" |
| 56 | column="17"/> |
| 57 | </issue> |
| 58 | |
| 59 | <issue |
| 60 | id="InlinedApi" |
| 61 | message="Field requires API level 24 (current min is 14): `android.content.Intent#FLAG_ACTIVITY_LAUNCH_ADJACENT`" |
| 62 | errorLine1=" FLAG_ACTIVITY_RETAIN_IN_RECENTS, FLAG_ACTIVITY_LAUNCH_ADJACENT})" |
| 63 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 64 | <location |
| 65 | file="src/main/java/androidx/activity/result/IntentSenderRequest.java" |
| 66 | line="178" |
| 67 | column="50"/> |
| 68 | </issue> |
Oussama Ben Abdelbaki | dd0931f | 2020-08-05 12:17:43 -0400 | [diff] [blame] | 69 | |
| 70 | <issue |
Oussama Ben Abdelbaki | a95fc31 | 2020-09-16 12:38:55 -0400 | [diff] [blame] | 71 | id="BanTargetApiAnnotation" |
| 72 | message="Uses @TargetApi annotation" |
| 73 | errorLine1=" @TargetApi(18)" |
| 74 | errorLine2=" ~~~~~~~~~~~~~~"> |
| 75 | <location |
| 76 | file="src/main/java/androidx/activity/result/contract/ActivityResultContracts.java" |
| 77 | line="458" |
| 78 | column="5"/> |
| 79 | </issue> |
| 80 | |
| 81 | <issue |
| 82 | id="BanTargetApiAnnotation" |
| 83 | message="Uses @TargetApi annotation" |
| 84 | errorLine1=" @TargetApi(19)" |
| 85 | errorLine2=" ~~~~~~~~~~~~~~"> |
| 86 | <location |
| 87 | file="src/main/java/androidx/activity/result/contract/ActivityResultContracts.java" |
| 88 | line="521" |
| 89 | column="5"/> |
| 90 | </issue> |
| 91 | |
| 92 | <issue |
| 93 | id="BanTargetApiAnnotation" |
| 94 | message="Uses @TargetApi annotation" |
| 95 | errorLine1=" @TargetApi(19)" |
| 96 | errorLine2=" ~~~~~~~~~~~~~~"> |
| 97 | <location |
| 98 | file="src/main/java/androidx/activity/result/contract/ActivityResultContracts.java" |
| 99 | line="559" |
| 100 | column="5"/> |
| 101 | </issue> |
| 102 | |
| 103 | <issue |
| 104 | id="BanTargetApiAnnotation" |
| 105 | message="Uses @TargetApi annotation" |
| 106 | errorLine1=" @TargetApi(21)" |
| 107 | errorLine2=" ~~~~~~~~~~~~~~"> |
| 108 | <location |
| 109 | file="src/main/java/androidx/activity/result/contract/ActivityResultContracts.java" |
| 110 | line="601" |
| 111 | column="5"/> |
| 112 | </issue> |
| 113 | |
| 114 | <issue |
| 115 | id="BanTargetApiAnnotation" |
| 116 | message="Uses @TargetApi annotation" |
| 117 | errorLine1=" @TargetApi(19)" |
| 118 | errorLine2=" ~~~~~~~~~~~~~~"> |
| 119 | <location |
| 120 | file="src/main/java/androidx/activity/result/contract/ActivityResultContracts.java" |
| 121 | line="640" |
| 122 | column="5"/> |
| 123 | </issue> |
| 124 | |
| 125 | <issue |
Oussama Ben Abdelbaki | dd0931f | 2020-08-05 12:17:43 -0400 | [diff] [blame] | 126 | id="UnsafeNewApiCall" |
| 127 | message="This call is to a method from API 16, the call containing class androidx.activity.result.contract.ActivityResultContracts.GetMultipleContents is not annotated with @RequiresApi(x) where x is at least 16. Either annotate the containing class with at least @RequiresApi(16) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(16)." |
| 128 | errorLine1=" ClipData clipData = intent.getClipData();" |
| 129 | errorLine2=" ~~~~~~~~~~~"> |
| 130 | <location |
| 131 | file="src/main/java/androidx/activity/result/contract/ActivityResultContracts.java" |
| 132 | line="495" |
| 133 | column="40"/> |
| 134 | </issue> |
| 135 | |
| 136 | <issue |
| 137 | id="UnsafeNewApiCall" |
| 138 | message="This call is to a method from API 19, the call containing class null is not annotated with @RequiresApi(x) where x is at least 19. Either annotate the containing class with at least @RequiresApi(19) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(19)." |
| 139 | errorLine1=" decor.cancelPendingInputEvents();" |
| 140 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 141 | <location |
| 142 | file="src/main/java/androidx/activity/ComponentActivity.java" |
| 143 | line="243" |
| 144 | column="35"/> |
| 145 | </issue> |
| 146 | |
| 147 | </issues> |