Home | History | Annotate | Download | only in 2.1
      1 <html devsite>
      2   <head>
      3     <title>Permitted Version Strings for Android 2.1</title>
      4     <meta name="project_path" value="/_project.yaml" />
      5     <meta name="book_path" value="/_book.yaml" />
      6   </head>
      7   <body>
      8   <!--
      9       Copyright 2017 The Android Open Source Project
     10 
     11       Licensed under the Apache License, Version 2.0 (the "License");
     12       you may not use this file except in compliance with the License.
     13       You may obtain a copy of the License at
     14 
     15           http://www.apache.org/licenses/LICENSE-2.0
     16 
     17       Unless required by applicable law or agreed to in writing, software
     18       distributed under the License is distributed on an "AS IS" BASIS,
     19       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     20       See the License for the specific language governing permissions and
     21       limitations under the License.
     22   -->
     23 
     24 
     25 
     26 <p>As described in Section 3.2.2 of the <a href="android-2.1-cdd.pdf">Android 2.1 Compatibility Definition</a>, 
     27 only certain strings are allowable for the system property
     28 <code>android.os.Build.VERSION.RELEASE</code>. The reason for this is that
     29 applications and web sites may rely on predictable values for this string, and
     30 so that end users can easily and reliably identify the version of Android
     31 running on their devices.</p>
     32 <p>Because subsequent releases of the Android software may revise this string,
     33 but not change any API behavior, such releases may not be accompanied by a new
     34 Compatibility Definition Document. This page lists the versions that are
     35 allowable by an Android 2.1-based system. The only permitted values for
     36 <code>android.os.Build.VERSION.RELEASE</code> for Android 2.1 are:</p>
     37 <ul>
     38 <li>
     39 <p>2.1</p>
     40 </li>
     41 <li>
     42 <p>2.1-update1</p>
     43 </li>
     44 </ul>
     45 
     46   </body>
     47 </html>
     48