From ff091e17080aa3ac3d5ef98de78bb195b1c77c31 Mon Sep 17 00:00:00 2001 From: Daniel Yu Date: Wed, 20 Apr 2016 11:00:37 -0700 Subject: docs: Fixing various minor issues Fixes to minor issues (typos and other things that don't require editorial review) in Android docs. Staged page URLs provided in CL comments. Bug: 28172346 Bug: 22411462 Bug: 26422744 Bug: 26776224 Change-Id: Ic3aa8495a1d76a5ce3bccb5037b4172443664d0b --- docs/html-intl/intl/ja/training/tv/start/hardware.jd | 6 +++++- docs/html/preview/features/direct-boot.jd | 2 +- docs/html/training/tv/start/hardware.jd | 4 ++++ docs/html/training/tv/start/index.jd | 8 ++++---- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/docs/html-intl/intl/ja/training/tv/start/hardware.jd b/docs/html-intl/intl/ja/training/tv/start/hardware.jd index ccf20fa45b9c..76fb56f26f1b 100755 --- a/docs/html-intl/intl/ja/training/tv/start/hardware.jd +++ b/docs/html-intl/intl/ja/training/tv/start/hardware.jd @@ -105,16 +105,20 @@ if (uiModeManager.getCurrentModeType() == Configuration.UI_MODE_TYPE_TELEVISION)
 <uses-feature android:name="android.hardware.touchscreen"
         android:required="false"/>
+<uses-feature android:name="android.hardware.faketouch"
+        android:required="false"/>
 <uses-feature android:name="android.hardware.telephony"
         android:required="false"/>
 <uses-feature android:name="android.hardware.camera"
         android:required="false"/>
 <uses-feature android:name="android.hardware.nfc"
         android:required="false"/>
-<uses-feature android:name="android.hardware.gps"
+<uses-feature android:name="android.hardware.location.gps"
         android:required="false"/>
 <uses-feature android:name="android.hardware.microphone"
         android:required="false"/>
+<uses-feature android:name="android.hardware.sensor"
+        android:required="false"/>
 

diff --git a/docs/html/preview/features/direct-boot.jd b/docs/html/preview/features/direct-boot.jd index d1530d7efe67..e6800fdaef56 100644 --- a/docs/html/preview/features/direct-boot.jd +++ b/docs/html/preview/features/direct-boot.jd @@ -71,7 +71,7 @@ run during Direct Boot mode, such as triggering a scheduled alarm.

intent filter for LOCKED_BOOT_COMPLETED, in the app manifest:

-<receiever
+<receiver
   android:directBootAware="true" >
   ...
   <intent-filter>
diff --git a/docs/html/training/tv/start/hardware.jd b/docs/html/training/tv/start/hardware.jd
index 9a66c0959964..97cf7ff6626d 100644
--- a/docs/html/training/tv/start/hardware.jd
+++ b/docs/html/training/tv/start/hardware.jd
@@ -115,6 +115,10 @@ if (uiModeManager.getCurrentModeType() == Configuration.UI_MODE_TYPE_TELEVISION)
     Sensors
     {@code android.hardware.sensor}
   
+  
+    Screen in portrait orientation
+    {@code android.hardware.screen.portrait}
+  
 
 
 

diff --git a/docs/html/training/tv/start/index.jd b/docs/html/training/tv/start/index.jd index 5426ad76291d..cbd9b493dce2 100644 --- a/docs/html/training/tv/start/index.jd +++ b/docs/html/training/tv/start/index.jd @@ -50,6 +50,10 @@ startpage=true Getting Started with TV Apps

Learn how to create a new Android Studio project for TV apps or modify your existing app project to run on TV devices.
+
+ Handling TV Hardware
+
Learn how to check if your app is running on TV hardware, handle unsupported hardware + features, and manage controller devices.
Building TV Layouts
Learn the minimum requirements for TV layouts and how to implement them.
@@ -57,8 +61,4 @@ startpage=true Creating TV Navigation
Learn the requirements for TV navigation and how to implement TV-compatible navigation.
-
- Handling TV Hardware
-
Learn how to check if your app is running on TV hardware, handle unsupported hardware - features, and manage controller devices.
-- cgit v1.2.3-59-g8ed1b