Bug 621262 - Mark location support as optional on Android. r=blassey a=b DONTBUILD
authorMatt Brubeck <mbrubeck@mozilla.com>
Tue, 28 Dec 2010 07:28:55 -0800
changeset 59705 f47110e73a2163422c0c9e6770ff9add2aeaa386
parent 59704 5d7d04e98fa9fb3fbde248b1951728e9e4870322
child 59706 0ca6c4e19f46bedad0eccb0e9ad363b333abb2f8
push id17745
push usermbrubeck@mozilla.com
push dateTue, 28 Dec 2010 15:33:28 +0000
treeherdermozilla-central@f47110e73a21 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersblassey, b
bugs621262
milestone2.0b9pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 621262 - Mark location support as optional on Android. r=blassey a=b DONTBUILD
embedding/android/AndroidManifest.xml.in
--- a/embedding/android/AndroidManifest.xml.in
+++ b/embedding/android/AndroidManifest.xml.in
@@ -9,16 +9,20 @@
     <uses-sdk android:minSdkVersion="5"
               android:targetSdkVersion="5"/>
 
     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
     <uses-permission android:name="android.permission.INTERNET"/>
     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
     <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
 
+    <uses-feature android:name="android.hardware.location" android:required="false"/>
+    <uses-feature android:name="android.hardware.location.gps" android:required="false"/>
+    <uses-feature android:name="android.hardware.touchscreen"/>
+
     <application android:label="@MOZ_APP_DISPLAYNAME@"
 		 android:icon="@drawable/icon"
 		 android:debuggable="true">
         <activity android:name="App"
                   android:label="@MOZ_APP_DISPLAYNAME@"
                   android:configChanges="keyboard|keyboardHidden|mcc|mnc"
                   android:windowSoftInputMode="stateUnspecified|adjustResize"
                   android:launchMode="singleTask"