CINXE.COM

/ - 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>/ - 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/refs/tags/android-vts-9.0_r19/">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> / <a class="Breadcrumbs-crumb" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19">refs/tags/android-vts-9.0_r19</a> / <span class="Breadcrumbs-crumb">.</span></div><div class="TreeDetail"><div class="u-sha1 u-monospace TreeDetail-sha1">tree: cf8c59fcb5503ff0bb68838949efeaa2c145b766 [<a href="/platform/frameworks/support/+log/refs/tags/android-vts-9.0_r19/">path history</a>] <span>[<a href="/platform/frameworks/support/+archive/refs/tags/android-vts-9.0_r19.tar.gz">tgz</a>]</span></div><ol class="FileList"><li class="FileList-item FileList-item--gitTree" title="Tree - .idea/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/.idea/">.idea/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - annotations/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/annotations/">annotations/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - api/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/api/">api/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - app-toolkit/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/app-toolkit/">app-toolkit/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - asynclayoutinflater/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/asynclayoutinflater/">asynclayoutinflater/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - browser/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/browser/">browser/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - buildSrc/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/buildSrc/">buildSrc/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - car/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/car/">car/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - cardview/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/cardview/">cardview/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - collection/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/collection/">collection/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - compat/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/compat/">compat/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - content/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/content/">content/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - coordinatorlayout/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/coordinatorlayout/">coordinatorlayout/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - core/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/core/">core/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - cursoradapter/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/cursoradapter/">cursoradapter/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - customview/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/customview/">customview/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - development/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/development/">development/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - docs-fake/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/docs-fake/">docs-fake/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - documentfile/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/documentfile/">documentfile/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - drawerlayout/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/drawerlayout/">drawerlayout/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - dynamic-animation/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/dynamic-animation/">dynamic-animation/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - emoji/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/emoji/">emoji/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - exifinterface/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/exifinterface/">exifinterface/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - fragment/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/fragment/">fragment/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - frameworks/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/frameworks/">frameworks/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - gradle/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/gradle/">gradle/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - graphics/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/graphics/">graphics/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - gridlayout/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/gridlayout/">gridlayout/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - heifwriter/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/heifwriter/">heifwriter/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - interpolator/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/interpolator/">interpolator/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - jetifier/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/jetifier/">jetifier/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - leanback/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/leanback/">leanback/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - leanback-preference/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/leanback-preference/">leanback-preference/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - legacy/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/legacy/">legacy/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - lifecycle/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/lifecycle/">lifecycle/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - loader/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/loader/">loader/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - localbroadcastmanager/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/localbroadcastmanager/">localbroadcastmanager/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - media/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/media/">media/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - media-widget/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/media-widget/">media-widget/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - mediarouter/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/mediarouter/">mediarouter/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - navigation/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/navigation/">navigation/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - paging/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/paging/">paging/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - palette/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/palette/">palette/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - percent/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/percent/">percent/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - persistence/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/persistence/">persistence/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - preference/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/preference/">preference/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - print/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/print/">print/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - recommendation/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/recommendation/">recommendation/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - recyclerview-selection/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/recyclerview-selection/">recyclerview-selection/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - room/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/room/">room/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - samples/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/samples/">samples/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - scripts/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/scripts/">scripts/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - slices/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/slices/">slices/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - slidingpanelayout/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/slidingpanelayout/">slidingpanelayout/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - swiperefreshlayout/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/swiperefreshlayout/">swiperefreshlayout/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - testutils/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/testutils/">testutils/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - testutils-ktx/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/testutils-ktx/">testutils-ktx/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - textclassifier/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/textclassifier/">textclassifier/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - transition/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/transition/">transition/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - tv-provider/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/tv-provider/">tv-provider/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - v7/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/v7/">v7/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - viewpager/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/viewpager/">viewpager/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - viewpager2/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/viewpager2/">viewpager2/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - wear/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/wear/">wear/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - webkit/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/webkit/">webkit/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - webkit-codegen/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/webkit-codegen/">webkit-codegen/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - work/"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/work/">work/</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - .gitignore"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/.gitignore">.gitignore</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - adding-support-library-as-included-build.md"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/adding-support-library-as-included-build.md">adding-support-library-as-included-build.md</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - build.gradle"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/build.gradle">build.gradle</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - gradle.properties"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/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/+/refs/tags/android-vts-9.0_r19/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/+/refs/tags/android-vts-9.0_r19/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/+/refs/tags/android-vts-9.0_r19/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/+/refs/tags/android-vts-9.0_r19/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/+/refs/tags/android-vts-9.0_r19/OWNERS">OWNERS</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - PREUPLOAD.cfg"><a class="FileList-itemLink" href="/platform/frameworks/support/+/refs/tags/android-vts-9.0_r19/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/+/refs/tags/android-vts-9.0_r19/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/+/refs/tags/android-vts-9.0_r19/settings.gradle">settings.gradle</a></li></ol><div class="InlineReadme"><div class="InlineReadme-path">README.md</div><div class="doc"><h1><a class="h" name="AOSP-Support-Library-Contribution-Guide" href="#AOSP-Support-Library-Contribution-Guide"><span></span></a><a class="h" name="aosp-support-library-contribution-guide" href="#aosp-support-library-contribution-guide"><span></span></a>AOSP Support Library 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 b.android.com)</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></ul><p>We <strong>are not</strong> currently accepting new modules, features, or behavior changes.</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 ub-supportlib-master </pre><p>Now your repository is set to pull only what you need for building and running support library. Download the code (and grab a coffee while we pull down 7GB):</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>Open <code class="code">path/to/checkout/frameworks/support/</code> in Android Studio. 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 support library from command line:</p><pre class="code">cd path/to/checkout/frameworks/support/ ./gradlew createArchive </pre><h3><a class="h" name="Building-Support-Library-as-part-of-your-App-build" href="#Building-Support-Library-as-part-of-your-App-build"><span></span></a><a class="h" name="building-support-library-as-part-of-your-app-build" href="#building-support-library-as-part-of-your-app-build"><span></span></a>Building Support Library as part of your App build</h3><p>If you intend to repeatedly make changes to Support Library and to wish to see the results in your app, and you don&#39;t want to have to repeatedly build them as separate Gradle projects, you can <a href="adding-support-library-as-included-build.md">configure your app build to build Support Library too</a></p><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 android.support.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>Support library has a set of Android applications that exercise support library 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 support-*-demos (e.g. support-4v-demos or support-leanback-demos. You can run them by clicking <code class="code">Run &gt; Run ...</code> and choosing the desired application.</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><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)</li></ul></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