Implement #8323587, #8323342, #8323590: new features.

8323587: Add feature for supporting app widgets
8323342: Add feature for replacing the home screen
8323590: Add feature for supporting input methods

The app widget service looks for the app widget feature
and refuses to work if it doesn't exist.  I didn't do
this for the input method service because some devices
will probably want to still make use of that mechanism
without supporting third party input methods.

Change-Id: Ia358ccc6059d43f163d74810c7cbe9568a67ede9
This commit is contained in:
Dianne Hackborn 2013-03-22 17:24:57 -07:00
parent afaf14b9fb
commit 0046d9614a
2 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,9 @@
<feature name="android.hardware.microphone" /> <feature name="android.hardware.microphone" />
<feature name="android.hardware.screen.portrait" /> <feature name="android.hardware.screen.portrait" />
<feature name="android.hardware.screen.landscape" /> <feature name="android.hardware.screen.landscape" />
<feature name="android.software.app_widgets" />
<feature name="android.software.home_screen" />
<feature name="android.software.input_methods" />
<!-- devices with GPS must include android.hardware.location.gps.xml --> <!-- devices with GPS must include android.hardware.location.gps.xml -->
<!-- devices with an autofocus camera and/or flash must include either <!-- devices with an autofocus camera and/or flash must include either
android.hardware.camera.autofocus.xml or android.hardware.camera.autofocus.xml or

View File

@ -34,6 +34,9 @@
<feature name="android.hardware.microphone" /> <feature name="android.hardware.microphone" />
<feature name="android.hardware.screen.portrait" /> <feature name="android.hardware.screen.portrait" />
<feature name="android.hardware.screen.landscape" /> <feature name="android.hardware.screen.landscape" />
<feature name="android.software.app_widgets" />
<feature name="android.software.home_screen" />
<feature name="android.software.input_methods" />
<!-- devices with GPS must include android.hardware.location.gps.xml --> <!-- devices with GPS must include android.hardware.location.gps.xml -->
<!-- devices with a rear-facing camera must include one of these as appropriate: <!-- devices with a rear-facing camera must include one of these as appropriate:
android.hardware.camera.xml or android.hardware.camera.xml or