Docs: Create 5.1/versions page, publish 5.1 CTS downloads

Bug: 20298618
Change-Id: I444575f73454dc18e2168c3e9bf5338b5e608eac
diff --git a/src/compatibility/5.1/versions.jd b/src/compatibility/5.1/versions.jd
new file mode 100644
index 0000000..e27d574
--- /dev/null
+++ b/src/compatibility/5.1/versions.jd
@@ -0,0 +1,19 @@
+page.title=Permitted Version Strings for Android 5.1
+@jd:body
+
+<p>As described in Section 3.2.2 of the <a
+href="/compatibility/android-5.1-cdd.pdf">Android 5.1 Compatibility Definition</a>,
+only certain strings are allowable for the system property
+<code>android.os.Build.VERSION.RELEASE</code>. The reason for this is that
+applications and web sites may rely on predictable values for this string, and
+so that end users can easily and reliably identify the version of Android
+running on their devices.</p>
+<p>Because subsequent releases of the Android software may revise this string,
+but not change any API behavior, such releases may not be accompanied by a new
+Compatibility Definition Document. This page lists the versions that are
+allowable by an Android 5.1-based system. The only permitted values for
+<code>android.os.Build.VERSION.RELEASE</code> for Android 5.1 are:</p>
+<ul>
+<li>5.1</li>
+<li>5.1.1</li>
+</ul>
diff --git a/src/compatibility/downloads.jd b/src/compatibility/downloads.jd
index d5ce7ec..f6b2b20 100644
--- a/src/compatibility/downloads.jd
+++ b/src/compatibility/downloads.jd
@@ -27,6 +27,25 @@
 <p>Thank you for your interest in Android Compatibility! The links below give
 you access to key documents and information about the program.</p>
 
+<h2 id="android-51">Android 5.1</h2>
+<p>Android 5.1 is the release of the development milestone code-named Lollipop-MR1.
+The source code for the following tests can be synced with the
+'android-cts-5.1_r1' tag in the open source tree.</p>
+<ul>
+<li><a
+href="https://dl.google.com/dl/android/cts/android-cts-5.1_r1-linux_x86-arm.zip">Android
+5.1 R1 Compatibility Test Suite (CTS) - ARM</a></li>
+<li><a
+href="https://dl.google.com/dl/android/cts/android-cts-5.1_r1-linux_x86-x86.zip">Android
+5.1 R1 Compatibility Test Suite (CTS) - x86</a></li>
+<li><a
+href="https://dl.google.com/dl/android/cts/android-cts-verifier-5.1_r1-linux_x86-arm.zip">Android
+5.1 R1 CTS Verifier - ARM</a></li>
+<li><a
+href="https://dl.google.com/dl/android/cts/android-cts-verifier-5.1_r1-linux_x86-x86.zip">Android
+5.1 R1 CTS Verifier - x86</a></li>
+</ul>
+
 <h2 id="android-50">Android 5.0</h2>
 <p>Android 5.0 is the release of the development milestone code-named Lollipop.
 The source code for the following tests can be synced with the