Commit f0eb740
committed
Add lint check to ban usage of non-default @VisibleForTesting params
Suppresses existing API lint issues in modified libraries so that we can
pass updateApi.
Removes @VisibleForTesting annotations gated by @RestrictTo, which don't
serve a practical purpose beyond documentation.
Baselines rapidly-changing credential library so that we can actually get
this landed.
Bug: 277361353
Test: BanVisibleForTestingParamsTest
Test: ./gradlew lintDebug
Merged-In: Iece4b035e3796ff3f0516193bc1dbcde8aa1307c
Change-Id: Iece4b035e3796ff3f0516193bc1dbcde8aa1307c1 parent defa023 commit f0eb740
File tree
63 files changed
+2116
-270
lines changed- activity/activity/src/main/java/androidx/activity
- benchmark/benchmark-common/src/main/java/androidx/benchmark
- buildSrc/private/src/main/kotlin/androidx/build
- camera
- camera-camera2-pipe-integration/src/main/java/androidx/camera/camera2/pipe/integration/interop
- camera-camera2
- src/main/java/androidx/camera/camera2/internal/compat
- compose
- animation/animation-core/src/commonMain/kotlin/androidx/compose/animation/core
- ui
- ui-test-junit4/src
- androidMain/kotlin/androidx/compose/ui/test/junit4
- jvmMain/kotlin/androidx/compose/ui/test/junit4
- ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform
- ui/src/androidMain/kotlin/androidx/compose/ui
- platform
- window
- core/core/src/main/java/androidx/core/view
- credentials
- credentials-play-services-auth
- credentials
- dynamicanimation/dynamicanimation
- api
- src/main/java/androidx/dynamicanimation/animation
- health/health-services-client/src/main/java/androidx/health/services/client/impl
- lint-checks
- integration-tests
- src/main/java/androidx
- src
- main/java/androidx/build/lint
- test/java/androidx/build/lint
- paging/paging-common/src/main/kotlin/androidx/paging
- recyclerview/recyclerview-selection/src/main/java/androidx/recyclerview/selection
- room
- room-compiler/src/main/kotlin/androidx/room/parser/expansion
- room-runtime
- api
- src/main/java/androidx/room
- util
- security/security-app-authenticator/src/main/java/androidx/security/app/authenticator
- wear
- compose/compose-material/src
- androidMain/kotlin/androidx/wear/compose/material
- commonMain/kotlin/androidx/wear/compose/material
- dialog
- protolayout
- protolayout-expression-pipeline/src/main/java/androidx/wear/protolayout/expression/pipeline
- protolayout-renderer/src/main/java/androidx/wear/protolayout/renderer
- dynamicdata
- inflater
- watchface
- watchface-complications-rendering/src/main/java/androidx/wear/watchface/complications/rendering
- watchface
- src/main/java/androidx/wear/watchface
- wear-input
- api
- src/main/java/androidx/wear/input
- wear-remote-interactions/src/main/java/androidx/wear/remote/interactions
- wear/src/main/java/androidx/wear/utils
- work/work-runtime/src/main/java/androidx/work/impl/background/systemjob
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
63 files changed
+2116
-270
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
234 | 237 | | |
235 | 238 | | |
236 | 239 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
139 | 148 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | 111 | | |
113 | 112 | | |
114 | 113 | | |
| |||
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
48 | | - | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
| |||
69 | 67 | | |
70 | 68 | | |
71 | 69 | | |
72 | | - | |
73 | 70 | | |
74 | 71 | | |
75 | 72 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments