CINXE.COM

7cdf52a8581614a309a99b0c4e38351e0d8dab25 - platform/frameworks/support - Git at Google

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>7cdf52a8581614a309a99b0c4e38351e0d8dab25 - platform/frameworks/support - Git at Google</title><link rel="stylesheet" type="text/css" href="/+static/base.css"><link rel="stylesheet" type="text/css" href="/+static/doc.css"><link rel="stylesheet" type="text/css" href="/+static/prettify/prettify.css"><!-- default customHeadTagPart --></head><body class="Site"><header class="Site-header"><div class="Header"><a class="Header-image" href="/"><img src="//www.gstatic.com/images/branding/lockups/2x/lockup_git_color_108x24dp.png" width="108" height="24" alt="Google Git"></a><div class="Header-menu"> <a class="Header-menuItem" href="https://accounts.google.com/AccountChooser?faa=1&amp;service=gerritcodereview&amp;continue=https://android.googlesource.com/login/platform/frameworks/support/%2B/7cdf52a8581614a309a99b0c4e38351e0d8dab25">Sign in</a> </div></div></header><div class="Site-content"><div class="Container "><div class="Breadcrumbs"><a class="Breadcrumbs-crumb" href="/?format=HTML">android</a> / <a class="Breadcrumbs-crumb" href="/platform/">platform</a> / <a class="Breadcrumbs-crumb" href="/platform/frameworks/">frameworks</a> / <a class="Breadcrumbs-crumb" href="/platform/frameworks/support/">support</a> / <span class="Breadcrumbs-crumb">7cdf52a8581614a309a99b0c4e38351e0d8dab25</span></div><div class="u-monospace Metadata"><table><tr><th class="Metadata-title">commit</th><td>7cdf52a8581614a309a99b0c4e38351e0d8dab25</td><td><span>[<a href="/platform/frameworks/support/+log/7cdf52a8581614a309a99b0c4e38351e0d8dab25">log</a>]</span> <span>[<a href="/platform/frameworks/support/+archive/7cdf52a8581614a309a99b0c4e38351e0d8dab25.tar.gz">tgz</a>]</span></td></tr><tr><th class="Metadata-title">author</th><td>Aurimas Liutikas &lt;aurimas@google.com&gt;</td><td>Mon Apr 15 19:25:40 2019 -0700</td></tr><tr><th class="Metadata-title">committer</th><td>Aurimas Liutikas &lt;aurimas@google.com&gt;</td><td>Fri May 10 12:55:49 2019 -0700</td></tr><tr><th class="Metadata-title">tree</th><td><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/">a6d07a267b58760c86daeb5a278773d672750ccd</a></td></tr><tr><th class="Metadata-title">parent</th><td><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E">45eec1f7fe85cd635a7dec611713cea4c060098b</a> <span>[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/">diff</a>]</span></td></tr></table></div><pre class="u-pre u-monospace MetadataMessage">Turn koltin warnings into errors. Whitelist some projects until they are fixed. Test: ./gradlew assembleDebug assembleAndroidTest Change-Id: <a href="https://android-review.googlesource.com/#/q/I4c992ea8b7fdba45f848183c6c2b6365520ddd3b">I4c992ea8b7fdba45f848183c6c2b6365520ddd3b</a> </pre><ul class="DiffTree"><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/buildSrc/src/main/kotlin/androidx/build/AndroidXPlugin.kt">buildSrc/src/main/kotlin/androidx/build/AndroidXPlugin.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F0">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/core/ktx/src/androidTest/java/androidx/core/database/sqlite/SQLiteDatabaseTest.kt">core/ktx/src/androidTest/java/androidx/core/database/sqlite/SQLiteDatabaseTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F1">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/core/ktx/src/androidTest/java/androidx/core/util/AtomicFileTest.kt">core/ktx/src/androidTest/java/androidx/core/util/AtomicFileTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F2">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/fragment/src/androidTest/java/androidx/fragment/app/ViewModelTest.kt">fragment/src/androidTest/java/androidx/fragment/app/ViewModelTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F3">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/jetifier/jetifier/core/src/test/kotlin/com/android/tools/build/jetifier/core/config/ConfigParserTest.kt">jetifier/jetifier/core/src/test/kotlin/com/android/tools/build/jetifier/core/config/ConfigParserTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F4">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/Processor.kt">jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/Processor.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F5">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/ProcessorTest.kt">jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/ProcessorTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F6">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/signatures/SignatureIntegrationTest.kt">jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/signatures/SignatureIntegrationTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F7">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/DependencyMappingTest.kt">jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/DependencyMappingTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F8">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/SingleFileJetificationTest.kt">jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/SingleFileJetificationTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F9">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/bytecode/ClassFilesMoveTest.kt">jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/bytecode/ClassFilesMoveTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F10">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/metainf/MetaInfTransformerTest.kt">jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/metainf/MetaInfTransformerTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F11">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/pom/PomRewriteInZipTest.kt">jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/pom/PomRewriteInZipTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F12">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/resource/AnnotationsTransformationTest.kt">jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/resource/AnnotationsTransformationTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F13">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/lifecycle/integration-tests/kotlintestapp/src/test-common/java/androidx.lifecycle/FakeLifecycleOwner.kt">lifecycle/integration-tests/kotlintestapp/src/test-common/java/androidx.lifecycle/FakeLifecycleOwner.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F14">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/lifecycle/integration-tests/kotlintestapp/src/test-common/java/androidx.lifecycle/LifecycleCoroutineScopeTestBase.kt">lifecycle/integration-tests/kotlintestapp/src/test-common/java/androidx.lifecycle/LifecycleCoroutineScopeTestBase.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F15">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/lifecycle/viewmodel/ktx/src/androidTest/java/androidx/lifecycle/ViewModelTest.kt">lifecycle/viewmodel/ktx/src/androidTest/java/androidx/lifecycle/ViewModelTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F16">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/lifecycle/viewmodel/ktx/src/test/java/androidx/lifecycle/ViewModelLazyTest.kt">lifecycle/viewmodel/ktx/src/test/java/androidx/lifecycle/ViewModelLazyTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F17">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/navigation/common/ktx/src/androidTest/java/androidx/navigation/NavGraphTest.kt">navigation/common/ktx/src/androidTest/java/androidx/navigation/NavGraphTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F18">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/navigation/common/ktx/src/test/java/androidx/navigation/NavigatorProviderTest.kt">navigation/common/ktx/src/test/java/androidx/navigation/NavigatorProviderTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F19">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/navigation/common/src/androidTest/java/androidx/navigation/NavGraphAndroidTest.kt">navigation/common/src/androidTest/java/androidx/navigation/NavGraphAndroidTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F20">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/navigation/fragment/src/androidTest/java/androidx/navigation/fragment/FragmentNavigatorTest.kt">navigation/fragment/src/androidTest/java/androidx/navigation/fragment/FragmentNavigatorTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F21">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/navigation/runtime/ktx/src/androidTest/java/androidx/navigation/ActivityNavigatorExtrasTest.kt">navigation/runtime/ktx/src/androidTest/java/androidx/navigation/ActivityNavigatorExtrasTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F22">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/navigation/runtime/src/androidTest/java/androidx/navigation/NavControllerTest.kt">navigation/runtime/src/androidTest/java/androidx/navigation/NavControllerTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F23">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/navigation/runtime/src/androidTest/java/androidx/navigation/NavControllerViewModelTest.kt">navigation/runtime/src/androidTest/java/androidx/navigation/NavControllerViewModelTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F24">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/java/JavaNavWriter.kt">navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/java/JavaNavWriter.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F25">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/paging/runtime/src/androidTest/java/androidx/paging/AsyncPagedListDifferTest.kt">paging/runtime/src/androidTest/java/androidx/paging/AsyncPagedListDifferTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F26">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/room/compiler/src/test/kotlin/androidx/room/kotlin/KotlinMetadataElementTest.kt">room/compiler/src/test/kotlin/androidx/room/kotlin/KotlinMetadataElementTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F27">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/savedstate/src/androidTest/java/androidx/savedstate/SavedStateRegistryTest.kt">savedstate/src/androidTest/java/androidx/savedstate/SavedStateRegistryTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F28">diff</a>]</span></li><li><a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/viewpager2/src/androidTest/java/androidx/viewpager2/widget/PageTransformerTest.kt">viewpager2/src/androidTest/java/androidx/viewpager2/widget/PageTransformerTest.kt</a><span class="DiffTree-action DiffTree-action--modify">[<a href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25%5E%21/#F29">diff</a>]</span></li></ul><div class="DiffSummary">30 files changed</div><div class="TreeDetail"><div class="u-sha1 u-monospace TreeDetail-sha1">tree: a6d07a267b58760c86daeb5a278773d672750ccd</div><ol class="FileList"><li class="FileList-item FileList-item--gitTree" title="Tree - .idea/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/.idea/">.idea/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - activity/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/activity/">activity/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - animation/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/animation/">animation/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - annotations/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/annotations/">annotations/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - api/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/api/">api/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - appcompat/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/appcompat/">appcompat/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - arch/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/arch/">arch/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - asynclayoutinflater/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/asynclayoutinflater/">asynclayoutinflater/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - benchmark/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/benchmark/">benchmark/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - biometric/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/biometric/">biometric/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - browser/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/browser/">browser/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - buildSrc/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/buildSrc/">buildSrc/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - camera/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/camera/">camera/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - car/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/car/">car/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - cardview/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/cardview/">cardview/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - collection/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/collection/">collection/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - compose/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/compose/">compose/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - concurrent/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/concurrent/">concurrent/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - content/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/content/">content/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - coordinatorlayout/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/coordinatorlayout/">coordinatorlayout/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - core/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/core/">core/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - cursoradapter/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/cursoradapter/">cursoradapter/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - customview/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/customview/">customview/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - development/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/development/">development/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - docs-fake/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/docs-fake/">docs-fake/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - docs-runner/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/docs-runner/">docs-runner/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - documentfile/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/documentfile/">documentfile/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - drawerlayout/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/drawerlayout/">drawerlayout/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - dumb-tests/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/dumb-tests/">dumb-tests/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - dynamic-animation/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/dynamic-animation/">dynamic-animation/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - emoji/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/emoji/">emoji/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - enterprise/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/enterprise/">enterprise/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - exifinterface/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/exifinterface/">exifinterface/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - fragment/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/fragment/">fragment/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - frameworks/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/frameworks/">frameworks/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - gradle/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/gradle/">gradle/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - graphics/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/graphics/">graphics/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - gridlayout/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/gridlayout/">gridlayout/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - heifwriter/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/heifwriter/">heifwriter/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - interpolator/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/interpolator/">interpolator/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - jetifier/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/jetifier/">jetifier/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - leanback/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/leanback/">leanback/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - leanback-preference/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/leanback-preference/">leanback-preference/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - legacy/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/legacy/">legacy/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - lifecycle/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/lifecycle/">lifecycle/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - loader/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/loader/">loader/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - localbroadcastmanager/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/localbroadcastmanager/">localbroadcastmanager/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - media/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/media/">media/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - media2/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/media2/">media2/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - mediarouter/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/mediarouter/">mediarouter/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - navigation/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/navigation/">navigation/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - paging/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/paging/">paging/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - palette/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/palette/">palette/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - percent/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/percent/">percent/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - persistence/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/persistence/">persistence/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - preference/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/preference/">preference/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - print/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/print/">print/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - recommendation/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/recommendation/">recommendation/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - recyclerview/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/recyclerview/">recyclerview/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - remotecallback/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/remotecallback/">remotecallback/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - room/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/room/">room/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - samples/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/samples/">samples/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - savedstate/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/savedstate/">savedstate/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - scripts/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/scripts/">scripts/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - security/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/security/">security/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - sharetarget/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/sharetarget/">sharetarget/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - slices/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/slices/">slices/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - slidingpanelayout/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/slidingpanelayout/">slidingpanelayout/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - swiperefreshlayout/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/swiperefreshlayout/">swiperefreshlayout/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - testutils/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/testutils/">testutils/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - testutils-ktx/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/testutils-ktx/">testutils-ktx/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - textclassifier/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/textclassifier/">textclassifier/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - transition/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/transition/">transition/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - tv-provider/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/tv-provider/">tv-provider/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - ui/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/ui/">ui/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - versionedparcelable/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/versionedparcelable/">versionedparcelable/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - viewpager/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/viewpager/">viewpager/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - viewpager2/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/viewpager2/">viewpager2/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - wear/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/wear/">wear/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - webkit/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/webkit/">webkit/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - work/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/work/">work/</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - .gitignore"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/.gitignore">.gitignore</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - build.gradle"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/build.gradle">build.gradle</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - cleanBuild.sh"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/cleanBuild.sh">cleanBuild.sh</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - gradle.properties"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/gradle.properties">gradle.properties</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - gradlew"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/gradlew">gradlew</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - include-composite-deps.gradle"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/include-composite-deps.gradle">include-composite-deps.gradle</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - include-support-library.gradle"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/include-support-library.gradle">include-support-library.gradle</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - LICENSE.txt"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/LICENSE.txt">LICENSE.txt</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - OWNERS"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/OWNERS">OWNERS</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - PREUPLOAD.cfg"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/PREUPLOAD.cfg">PREUPLOAD.cfg</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - README.md"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/README.md">README.md</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - settings.gradle"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/settings.gradle">settings.gradle</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - studiow"><a class="FileList-itemLink" href="/platform/frameworks/support/+/7cdf52a8581614a309a99b0c4e38351e0d8dab25/studiow">studiow</a></li></ol><div class="InlineReadme"><div class="InlineReadme-path">README.md</div><div class="doc"><h1><a class="h" name="AOSP-AndroidX-Contribution-Guide" href="#AOSP-AndroidX-Contribution-Guide"><span></span></a><a class="h" name="aosp-androidx-contribution-guide" href="#aosp-androidx-contribution-guide"><span></span></a>AOSP AndroidX Contribution Guide</h1><h2><a class="h" name="Accepted-Types-of-Contributions" href="#Accepted-Types-of-Contributions"><span></span></a><a class="h" name="accepted-types-of-contributions" href="#accepted-types-of-contributions"><span></span></a>Accepted Types of Contributions</h2><ul><li>Bug fixes - needs a corresponding bug report in the <a href="https://issuetracker.google.com/issues/new?component=192731&amp;template=842428">Android Issue Tracker</a></li><li>Each bug fix is expected to come with tests</li><li>Fixing spelling errors</li><li>Updating documentation</li><li>Adding new tests to the area that is not currently covered by tests</li><li>New features to existing libraries if the feature request bug has been approved by an AndroidX team member.</li></ul><p>We <strong>are not</strong> currently accepting new modules.</p><h2><a class="h" name="Checking-Out-the-Code" href="#Checking-Out-the-Code"><span></span></a><a class="h" name="checking-out-the-code" href="#checking-out-the-code"><span></span></a>Checking Out the Code</h2><p><strong>NOTE: You will need to use Linux or Mac OS. Building under Windows is not currently supported.</strong></p><p>Follow the <a href="https://source.android.com/source/downloading.html">“Downloading the Source”</a> guide to install and set up <code class="code">repo</code> tool, but instead of running the listed <code class="code">repo</code> commands to initialize the repository, run the folowing:</p><pre class="code">repo init -u https://android.googlesource.com/platform/manifest -b androidx-master-dev </pre><p>The first time you initialize the repository, it will ask for user name and email.</p><p>Now your repository is set to pull only what you need for building and running AndroidX libraries. Download the code (and grab a coffee while we pull down 3GB):</p><pre class="code">repo sync -j8 -c </pre><p>You will use this command to sync your checkout in the future - it’s similar to <code class="code">git fetch</code></p><h2><a class="h" name="Using-Android-Studio" href="#Using-Android-Studio"><span></span></a><a class="h" name="using-android-studio" href="#using-android-studio"><span></span></a>Using Android Studio</h2><p>To open the project with the specific version of Android Studio recommended for developing:</p><pre class="code">cd path/to/checkout/frameworks/support/ ./studiow </pre><p>and accept the license agreement when prompted. Now you&#39;re ready edit, run, and test!</p><p>If you get “Unregistered VCS root detected” click “Add root” to enable git integration for Android Studio.</p><p>If you see any warnings (red underlines) run <code class="code">Build &gt; Clean Project</code>.</p><h2><a class="h" name="Builds" href="#Builds"><span></span></a><a class="h" name="builds" href="#builds"><span></span></a>Builds</h2><h3><a class="h" name="Full-Build-Optional" href="#Full-Build-Optional"><span></span></a><a class="h" name="full-build-optional" href="#full-build-optional"><span></span></a>Full Build (Optional)</h3><p>You can do most of your work from Android Studio, however you can also build the full AndroidX library from command line:</p><pre class="code">cd path/to/checkout/frameworks/support/ ./gradlew createArchive </pre><h3><a class="h" name="Testing-modified-AndroidX-Libraries-to-in-your-App" href="#Testing-modified-AndroidX-Libraries-to-in-your-App"><span></span></a><a class="h" name="testing-modified-androidx-libraries-to-in-your-app" href="#testing-modified-androidx-libraries-to-in-your-app"><span></span></a>Testing modified AndroidX Libraries to in your App</h3><p>You can build maven artifacts locally, and test them directly in your app:</p><pre class="code">./gradlew createArchive </pre><p>And put in your <strong>project</strong> <code class="code">build.gradle</code> file:</p><pre class="code">handler.maven { url &#39;/path/to/checkout/out/support/build/support_repo/&#39; } </pre><h2><a class="h" name="Running-Tests" href="#Running-Tests"><span></span></a><a class="h" name="running-tests" href="#running-tests"><span></span></a>Running Tests</h2><h3><a class="h" name="Single-Test-Class-or-Method" href="#Single-Test-Class-or-Method"><span></span></a><a class="h" name="single-test-class-or-method" href="#single-test-class-or-method"><span></span></a>Single Test Class or Method</h3><ol><li>Open the desired test file in Android Studio.</li><li>Right-click on a test class or @Test method name and select <code class="code">Run FooBarTest</code></li></ol><h3><a class="h" name="Full-Test-Package" href="#Full-Test-Package"><span></span></a><a class="h" name="full-test-package" href="#full-test-package"><span></span></a>Full Test Package</h3><ol><li>In the project side panel open the desired module.</li><li>Find the directory with the tests</li><li>Right-click on the directory and select <code class="code">Run androidx.foobar</code></li></ol><h2><a class="h" name="Running-Sample-Apps" href="#Running-Sample-Apps"><span></span></a><a class="h" name="running-sample-apps" href="#running-sample-apps"><span></span></a>Running Sample Apps</h2><p>The AndroidX repository has a set of Android applications that exercise AndroidX code. These applications can be useful when you want to debug a real running application, or reproduce a problem interactively, before writing test code.</p><p>These applications are named either <code class="code">&lt;libraryname&gt;-integration-tests-testapp</code>, or <code class="code">support-\*-demos</code> (e.g. <code class="code">support-4v-demos</code> or <code class="code">support-leanback-demos</code>). You can run them by clicking <code class="code">Run &gt; Run ...</code> and choosing the desired application.</p><h2><a class="h" name="Password-and-Contributor-Agreement-before-making-a-change" href="#Password-and-Contributor-Agreement-before-making-a-change"><span></span></a><a class="h" name="password-and-contributor-agreement-before-making-a-change" href="#password-and-contributor-agreement-before-making-a-change"><span></span></a>Password and Contributor Agreement before making a change</h2><p>Before uploading your first contribution, you will need setup a password and agree to the contribution agreement:</p><p>Generate a HTTPS password: <a href="https://android-review.googlesource.com/new-password">https://android-review.googlesource.com/new-password</a></p><p>Agree to the Google Contributor Licenses Agreement: <a href="https://android-review.googlesource.com/settings/new-agreement">https://android-review.googlesource.com/settings/new-agreement</a></p><h2><a class="h" name="Making-a-change" href="#Making-a-change"><span></span></a><a class="h" name="making-a-change" href="#making-a-change"><span></span></a>Making a change</h2><pre class="code">cd path/to/checkout/frameworks/support/ repo start my_branch_name . (make needed modifications) git commit -a repo upload --current-branch . </pre><p>If you see the following prompt, choose <code class="code">always</code>:</p><pre class="code">Run hook scripts from https://android.googlesource.com/platform/manifest (yes/always/NO)? </pre><p>If the upload succeeds, you&#39;ll see output like:</p><pre class="code">remote: remote: New Changes: remote: https://android-review.googlesource.com/c/platform/frameworks/support/+/720062 Further README updates remote: </pre><p>To edit your change, use <code class="code">git commit --amend</code>, and re-upload.</p><h2><a class="h" name="Getting-reviewed" href="#Getting-reviewed"><span></span></a><a class="h" name="getting-reviewed" href="#getting-reviewed"><span></span></a>Getting reviewed</h2><ul><li>After you run repo upload, open <a href="http://r.android.com">r.android.com</a></li><li>Sign in into your account (or create one if you do not have one yet)</li><li>Add an appropriate reviewer (use git log to find who did most modifications on the file you are fixing or check the OWNERS file in the project&#39;s directory)</li></ul><h2><a class="h" name="Handling-binary-dependencies" href="#Handling-binary-dependencies"><span></span></a><a class="h" name="handling-binary-dependencies" href="#handling-binary-dependencies"><span></span></a>Handling binary dependencies</h2><p>AndroidX uses git to store all the binary Gradle dependencies. They are stored in <code class="code">prebuilts/androidx/internal</code> and <code class="code">prebuilts/androidx/external</code> directories in your checkout. All the dependencies in these directories are also available from <code class="code">google()</code>, <code class="code">jcenter()</code>, or <code class="code">mavenCentral()</code>. We store copies of these dependencies to have hermetic builds. You can pull in <a href="7cdf52a8581614a309a99b0c4e38351e0d8dab25/development/importMaven/README.md">a new dependency using our importMaven tool</a>.</p></div></div></div></div> <!-- Container --></div> <!-- Site-content --><footer class="Site-footer"><div class="Footer"><span class="Footer-poweredBy">Powered by <a href="https://gerrit.googlesource.com/gitiles/">Gitiles</a>| <a href="https://policies.google.com/privacy">Privacy</a>| <a href="https://policies.google.com/terms">Terms</a></span><span class="Footer-formats"><a class="u-monospace Footer-formatsItem" href="?format=TEXT">txt</a> <a class="u-monospace Footer-formatsItem" href="?format=JSON">json</a></span></div></footer></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10