am bb6b1ff0: am d608d5e3: add jb mr2 uses-feature items to reference page and fix a couple doc bugs

* commit 'bb6b1ff012edac329bf4c3e7121651220259e64c':
  add jb mr2 uses-feature items to reference page and fix a couple doc bugs
This commit is contained in:
Scott Main
2013-08-26 13:12:20 -07:00
committed by Android Git Automerger
3 changed files with 36 additions and 16 deletions

View File

@ -552,8 +552,8 @@ is sensitive to delays or lag in sound input or output.</td>
<td>Bluetooth</td>
<td><code>android.hardware.bluetooth</td>
<td>The application uses Bluetooth radio features in the device.</td>
<td>
</td>
<td>If your app uses Bluetooth Low Energy, also declare
{@code android.software.bluetooth_le}.</td>
</tr>
<tr>
<td rowspan="5">Camera</td>
@ -849,26 +849,49 @@ in a separate <code>&lt;uses-feature&gt;</code> element. </p>
<th>Feature</th>
<th>Attribute Value</th>
<th>Description</th>
<th>Comments</th>
</tr>
<tr>
<td>App Widgets</td>
<td><code>android.software.app_widgets</code></td>
<td>The application uses or provides App Widgets and should be installed only on devices
that include a Home screen or similar location where users can embed App Widgets.</td>
</tr>
<tr>
<td>Bluetooth Low Energy</td>
<td><code>android.software.bluetooth_le</code></td>
<td><p>The application uses Bluetooth Low Energy APIs and should be installed only on devices
that are capable of communicating with other devices via Bluetooth Low Energy.
<p>This implicitly also declares the {@code android.hardware.bluetooth} feature.</td>
</tr>
<tr>
<td>Home Screen</td>
<td><code>android.software.home_screen</code></td>
<td>The application behaves as a Home screen replacement and should be installed only on
devices that support third-party Home screen apps.</td>
</tr>
<tr>
<td>Input Method</td>
<td><code>android.software.input_methods</code></td>
<td>The application provides a custom input method and should be installed only on devices that
support third-party input methods.</td>
</tr>
<tr>
<td>Live Wallpaper</td>
<td><code>android.software.live_wallpaper</code></td>
<td>The application uses or provides Live Wallpapers.</td>
<td></td>
<td>The application uses or provides Live Wallpapers and should be installed only on devices that
support Live Wallpapers.</td>
</tr>
<tr>
<td rowspan="2">SIP/VOIP</td>
<td><code>android.software.sip</code></td>
<td>The application uses SIP service on the device.
<td>The application uses SIP service on the device and should be installed only on devices that
support SIP.
</td>
<td></td>
</tr>
<tr>
<td><code>android.software.sip.voip</code></td>
<td>Subfeature. The application uses SIP-based VOIP service on the device.
</td>
<td>This subfeature implicitly declares the <code>android.software.sip</code> parent feature,
<td><p>Subfeature. The application uses SIP-based VOIP service on the device.
<p>This subfeature implicitly declares the <code>android.software.sip</code> parent feature,
unless declared with <code>android:required="false"</code>.</td>
</tr>
</table>

View File

@ -205,13 +205,13 @@ private void crossfade() {
// Animate the loading view to 0% opacity. After the animation ends,
// set its visibility to GONE as an optimization step (it won't
// participate in layout passes, etc.)
mHideView.animate()
mLoadingView.animate()
.alpha(0f)
.setDuration(mShortAnimationDuration)
.setListener(new AnimatorListenerAdapter() {
&#64;Override
public void onAnimationEnd(Animator animation) {
mHideView.setVisibility(View.GONE);
mLoadingView.setVisibility(View.GONE);
}
});
}

View File

@ -426,10 +426,7 @@ on Android 4.0.
<p>That's it, you've built your first Android app!</p>
<p>To learn more about building Android apps, continue to follow the
basic training classes. The next class is <a
href="{@docRoot}training/basics/activity-lifecycle/index.html">Managing the Activity
Lifecycle</a>.</p>
<p>To learn more, follow the link below to the next class.</p>