blob: b02c9a3fd58af53562d25685ab0b97a5d2515d35 [file] [log] [blame]
<html devsite>
<head>
<title>Permitted Version Strings for Android 5.0</title>
<meta name="project_path" value="/_project.yaml" />
<meta name="book_path" value="/_book.yaml" />
</head>
<body>
<!--
Copyright 2017 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<p>As described in Section 3.2.2 of the <a
href="android-5.0-cdd.pdf">Android 5.0 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.0-based system. The only permitted values for
<code>android.os.Build.VERSION.RELEASE</code> for Android 5.0 are:</p>
<ul>
<li>5.0</li>
<li>5.0.1</li>
<li>5.0.2</li>
</ul>
</body>
</html>