docs: Fixed targetSdkVersion in Auto Backup code snippets

Changed targetSdkVerion from "android-MNC" to "MNC". Also--per
preview/setup-sdk.html -- changed the minSdkVersion to "MNC" in
both places (if people are building apps for the preview release,
the minimum SDK version has to be MNC to keep the app from getting
installed onto devices running production Android).

See first comment for doc stage location.

bug: 21443485
Change-Id: I4cc5f16d53cd795b2db156c99db7c46f14d0ce65
This commit is contained in:
Andrew Solovay
2015-05-26 19:57:52 -07:00
parent b7227c2bf9
commit 95bdf6111d

View File

@@ -106,8 +106,8 @@ page.keywords=backup, autobackup, preview
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.my.appexample">
<uses-sdk android:minSdkVersion="9"/>
<uses-sdk android:targetSdkVersion="android-MNC"/>
<uses-sdk android:minSdkVersion="MNC"/>
<uses-sdk android:targetSdkVersion="MNC"/>
<app ...
<strong> android:fullBackupContent="&#64;xml/mybackupscheme"&gt;</strong>
&lt;/app&gt;
@@ -224,8 +224,8 @@ page.keywords=backup, autobackup, preview
&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.my.appexample"&gt;
&lt;uses-sdk android:minSdkVersion="9"/&gt;
&lt;uses-sdk android:targetSdkVersion="android-MNC"/&gt;
&lt;uses-sdk android:minSdkVersion="MNC"/&gt;
&lt;uses-sdk android:targetSdkVersion="MNC"/&gt;
&lt;app ...
<strong> android:allowBackup="false"&gt;</strong>
&lt;/app&gt;