forked from upstream-mirrors/OpenTracks
Reorder AndroidManifest based on
http://developer.android.com/guide/topics/manifest/manifest-intro.html Fix one lint error with duplicating variable.
This commit is contained in:
+130
-129
@@ -20,6 +20,118 @@ limitations under the License.
|
|||||||
android:versionName="1.1.15"
|
android:versionName="1.1.15"
|
||||||
package="com.google.android.maps.mytracks" >
|
package="com.google.android.maps.mytracks" >
|
||||||
|
|
||||||
|
<!-- Permission to initialize services -->
|
||||||
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
||||||
|
|
||||||
|
<!-- Permissions to record locations -->
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||||
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||||
|
|
||||||
|
<!-- Permissions to access sensors -->
|
||||||
|
<uses-permission android:name="com.dsi.ant.permission.ANT" />
|
||||||
|
<uses-permission android:name="com.dsi.ant.permission.ANT_ADMIN" />
|
||||||
|
<uses-permission android:name="android.permission.BLUETOOTH" />
|
||||||
|
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
|
||||||
|
|
||||||
|
<!-- Permissions to upload tracks -->
|
||||||
|
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
||||||
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
|
||||||
|
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
|
||||||
|
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
|
||||||
|
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.fusiontables" />
|
||||||
|
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.local" />
|
||||||
|
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.wise" />
|
||||||
|
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.writely" />
|
||||||
|
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
|
||||||
|
|
||||||
|
<!-- Permission to read phone state so voice announcement will not interrupt ongoing calls -->
|
||||||
|
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
||||||
|
|
||||||
|
<!-- Permission to write to SD card -->
|
||||||
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||||
|
|
||||||
|
<!-- Permissions to access My Tracks data -->
|
||||||
|
<uses-permission android:name="com.google.android.apps.mytracks.MYTRACKS_NOTIFICATIONS" />
|
||||||
|
<uses-permission android:name="com.google.android.apps.mytracks.READ_TRACK_DATA" />
|
||||||
|
<uses-permission android:name="com.google.android.apps.mytracks.WRITE_TRACK_DATA" />
|
||||||
|
|
||||||
|
<!-- Permission to receive My Tracks internal broadcasts -->
|
||||||
|
<permission
|
||||||
|
android:description="@string/permission_notification_label"
|
||||||
|
android:label="@string/permission_notification_label"
|
||||||
|
android:name="com.google.android.apps.mytracks.MYTRACKS_NOTIFICATIONS"
|
||||||
|
android:permissionGroup="android.permission-group.LOCATION"
|
||||||
|
android:protectionLevel="signature" />
|
||||||
|
<!-- Permission to read track data -->
|
||||||
|
<permission
|
||||||
|
android:description="@string/permission_read_description"
|
||||||
|
android:label="@string/permission_read_label"
|
||||||
|
android:name="com.google.android.apps.mytracks.READ_TRACK_DATA"
|
||||||
|
android:permissionGroup="android.permission-group.LOCATION"
|
||||||
|
android:protectionLevel="dangerous" />
|
||||||
|
<!-- Permission to receive track start/end broadcasts -->
|
||||||
|
<permission
|
||||||
|
android:description="@string/permission_notification_description"
|
||||||
|
android:label="@string/permission_notification_label"
|
||||||
|
android:name="com.google.android.apps.mytracks.TRACK_NOTIFICATIONS"
|
||||||
|
android:permissionGroup="android.permission-group.LOCATION"
|
||||||
|
android:protectionLevel="dangerous" />
|
||||||
|
<!-- Permission to write track data, either directly or through service calls -->
|
||||||
|
<permission
|
||||||
|
android:description="@string/permission_write_description"
|
||||||
|
android:label="@string/permission_write_label"
|
||||||
|
android:name="com.google.android.apps.mytracks.WRITE_TRACK_DATA"
|
||||||
|
android:permissionGroup="android.permission-group.LOCATION"
|
||||||
|
android:protectionLevel="dangerous" />
|
||||||
|
|
||||||
|
<uses-sdk
|
||||||
|
android:minSdkVersion="7"
|
||||||
|
android:targetSdkVersion="15" />
|
||||||
|
|
||||||
|
<!-- Required features -->
|
||||||
|
<uses-feature
|
||||||
|
android:name="android.hardware.location"
|
||||||
|
android:required="true" />
|
||||||
|
<uses-feature
|
||||||
|
android:name="android.hardware.location.gps"
|
||||||
|
android:required="true" />
|
||||||
|
|
||||||
|
<!-- Optional features -->
|
||||||
|
<uses-feature
|
||||||
|
android:name="android.hardware.bluetooth"
|
||||||
|
android:required="false" />
|
||||||
|
<uses-feature
|
||||||
|
android:name="android.hardware.faketouch"
|
||||||
|
android:required="false" />
|
||||||
|
<uses-feature
|
||||||
|
android:name="android.hardware.location.network"
|
||||||
|
android:required="false" />
|
||||||
|
<uses-feature
|
||||||
|
android:name="android.hardware.sensor.compass"
|
||||||
|
android:required="false" />
|
||||||
|
<uses-feature
|
||||||
|
android:name="android.hardware.telephony"
|
||||||
|
android:required="false" />
|
||||||
|
<uses-feature
|
||||||
|
android:name="android.hardware.telephony.gsm"
|
||||||
|
android:required="false" />
|
||||||
|
<uses-feature
|
||||||
|
android:name="android.hardware.touchscreen"
|
||||||
|
android:required="false" />
|
||||||
|
<uses-feature
|
||||||
|
android:name="android.hardware.touchscreen.multitouch"
|
||||||
|
android:required="false" />
|
||||||
|
|
||||||
|
<supports-screens
|
||||||
|
android:anyDensity="true"
|
||||||
|
android:largeScreens="true"
|
||||||
|
android:normalScreens="true"
|
||||||
|
android:smallScreens="true"
|
||||||
|
android:xlargeScreens="true" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:backupAgent="com.google.android.apps.mytracks.io.backup.MyTracksBackupAgent"
|
android:backupAgent="com.google.android.apps.mytracks.io.backup.MyTracksBackupAgent"
|
||||||
android:icon="@drawable/arrow_icon"
|
android:icon="@drawable/arrow_icon"
|
||||||
@@ -28,6 +140,11 @@ limitations under the License.
|
|||||||
android:theme="@style/ThemeSelector"
|
android:theme="@style/ThemeSelector"
|
||||||
android:uiOptions="splitActionBarWhenNarrow" >
|
android:uiOptions="splitActionBarWhenNarrow" >
|
||||||
|
|
||||||
|
<!-- For data backup -->
|
||||||
|
<meta-data
|
||||||
|
android:name="com.google.android.backup.api_key"
|
||||||
|
android:value="AEdPqrEAAAAIi-_QiwoRSc9_bAC9cmuNXTQyU8ajJmGtKdhskQ" />
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:label="@string/menu_aggregated_statistics"
|
android:label="@string/menu_aggregated_statistics"
|
||||||
android:name="com.google.android.apps.mytracks.AggregatedStatsActivity" />
|
android:name="com.google.android.apps.mytracks.AggregatedStatsActivity" />
|
||||||
@@ -196,23 +313,6 @@ limitations under the License.
|
|||||||
<activity android:name="com.google.android.apps.mytracks.io.sendtogoogle.UploadResultActivity" />
|
<activity android:name="com.google.android.apps.mytracks.io.sendtogoogle.UploadResultActivity" />
|
||||||
<activity android:name="com.google.android.apps.mytracks.io.sendtogoogle.UploadServiceChooserActivity" />
|
<activity android:name="com.google.android.apps.mytracks.io.sendtogoogle.UploadServiceChooserActivity" />
|
||||||
|
|
||||||
<meta-data
|
|
||||||
android:name="com.google.android.backup.api_key"
|
|
||||||
android:value="AEdPqrEAAAAIi-_QiwoRSc9_bAC9cmuNXTQyU8ajJmGtKdhskQ" />
|
|
||||||
|
|
||||||
<!-- My Tracks data provider -->
|
|
||||||
<provider
|
|
||||||
android:authorities="com.google.android.maps.mytracks"
|
|
||||||
android:exported="true"
|
|
||||||
android:name="com.google.android.apps.mytracks.content.MyTracksProvider"
|
|
||||||
android:readPermission="com.google.android.apps.mytracks.READ_TRACK_DATA"
|
|
||||||
android:writePermission="com.google.android.apps.mytracks.WRITE_TRACK_DATA" />
|
|
||||||
<!-- Search suggestion provider -->
|
|
||||||
<provider
|
|
||||||
android:authorities="com.google.android.maps.mytracks.search"
|
|
||||||
android:exported="false"
|
|
||||||
android:name="com.google.android.apps.mytracks.content.SearchEngineProvider" />
|
|
||||||
|
|
||||||
<service
|
<service
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:name="com.google.android.apps.mytracks.services.ControlRecordingService" />
|
android:name="com.google.android.apps.mytracks.services.ControlRecordingService" />
|
||||||
@@ -242,119 +342,20 @@ limitations under the License.
|
|||||||
android:resource="@xml/track_widget_info" />
|
android:resource="@xml/track_widget_info" />
|
||||||
</receiver>
|
</receiver>
|
||||||
|
|
||||||
|
<!-- My Tracks data provider -->
|
||||||
|
<provider
|
||||||
|
android:authorities="com.google.android.maps.mytracks"
|
||||||
|
android:exported="true"
|
||||||
|
android:name="com.google.android.apps.mytracks.content.MyTracksProvider"
|
||||||
|
android:readPermission="com.google.android.apps.mytracks.READ_TRACK_DATA"
|
||||||
|
android:writePermission="com.google.android.apps.mytracks.WRITE_TRACK_DATA" />
|
||||||
|
<!-- Search suggestion provider -->
|
||||||
|
<provider
|
||||||
|
android:authorities="com.google.android.maps.mytracks.search"
|
||||||
|
android:exported="false"
|
||||||
|
android:name="com.google.android.apps.mytracks.content.SearchEngineProvider" />
|
||||||
|
|
||||||
<uses-library android:name="com.google.android.maps" />
|
<uses-library android:name="com.google.android.maps" />
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
<!-- Permission to receive My Tracks internal broadcasts -->
|
|
||||||
<permission
|
|
||||||
android:description="@string/permission_notification_label"
|
|
||||||
android:label="@string/permission_notification_label"
|
|
||||||
android:name="com.google.android.apps.mytracks.MYTRACKS_NOTIFICATIONS"
|
|
||||||
android:permissionGroup="android.permission-group.LOCATION"
|
|
||||||
android:protectionLevel="signature" />
|
|
||||||
<!-- Permission to read track data -->
|
|
||||||
<permission
|
|
||||||
android:description="@string/permission_read_description"
|
|
||||||
android:label="@string/permission_read_label"
|
|
||||||
android:name="com.google.android.apps.mytracks.READ_TRACK_DATA"
|
|
||||||
android:permissionGroup="android.permission-group.LOCATION"
|
|
||||||
android:protectionLevel="dangerous" />
|
|
||||||
<!-- Permission to receive track start/end broadcasts -->
|
|
||||||
<permission
|
|
||||||
android:description="@string/permission_notification_description"
|
|
||||||
android:label="@string/permission_notification_label"
|
|
||||||
android:name="com.google.android.apps.mytracks.TRACK_NOTIFICATIONS"
|
|
||||||
android:permissionGroup="android.permission-group.LOCATION"
|
|
||||||
android:protectionLevel="dangerous" />
|
|
||||||
<!-- Permission to write track data, either directly or through service calls -->
|
|
||||||
<permission
|
|
||||||
android:description="@string/permission_write_description"
|
|
||||||
android:label="@string/permission_write_label"
|
|
||||||
android:name="com.google.android.apps.mytracks.WRITE_TRACK_DATA"
|
|
||||||
android:permissionGroup="android.permission-group.LOCATION"
|
|
||||||
android:protectionLevel="dangerous" />
|
|
||||||
|
|
||||||
<supports-screens
|
|
||||||
android:anyDensity="true"
|
|
||||||
android:largeScreens="true"
|
|
||||||
android:normalScreens="true"
|
|
||||||
android:smallScreens="true"
|
|
||||||
android:xlargeScreens="true" />
|
|
||||||
|
|
||||||
<!-- Required features -->
|
|
||||||
<uses-feature
|
|
||||||
android:name="android.hardware.location"
|
|
||||||
android:required="true" />
|
|
||||||
<uses-feature
|
|
||||||
android:name="android.hardware.location.gps"
|
|
||||||
android:required="true" />
|
|
||||||
|
|
||||||
<!-- Optional features -->
|
|
||||||
<uses-feature
|
|
||||||
android:name="android.hardware.bluetooth"
|
|
||||||
android:required="false" />
|
|
||||||
<uses-feature
|
|
||||||
android:name="android.hardware.faketouch"
|
|
||||||
android:required="false" />
|
|
||||||
<uses-feature
|
|
||||||
android:name="android.hardware.location.network"
|
|
||||||
android:required="false" />
|
|
||||||
<uses-feature
|
|
||||||
android:name="android.hardware.sensor.compass"
|
|
||||||
android:required="false" />
|
|
||||||
<uses-feature
|
|
||||||
android:name="android.hardware.telephony"
|
|
||||||
android:required="false" />
|
|
||||||
<uses-feature
|
|
||||||
android:name="android.hardware.telephony.gsm"
|
|
||||||
android:required="false" />
|
|
||||||
<uses-feature
|
|
||||||
android:name="android.hardware.touchscreen"
|
|
||||||
android:required="false" />
|
|
||||||
<uses-feature
|
|
||||||
android:name="android.hardware.touchscreen.multitouch"
|
|
||||||
android:required="false" />
|
|
||||||
|
|
||||||
<!-- Permission to initialize services -->
|
|
||||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
||||||
|
|
||||||
<!-- Permissions to record locations -->
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
||||||
|
|
||||||
<!-- Permissions to access sensors -->
|
|
||||||
<uses-permission android:name="com.dsi.ant.permission.ANT" />
|
|
||||||
<uses-permission android:name="com.dsi.ant.permission.ANT_ADMIN" />
|
|
||||||
<uses-permission android:name="android.permission.BLUETOOTH" />
|
|
||||||
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
|
|
||||||
|
|
||||||
<!-- Permissions to upload tracks -->
|
|
||||||
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
|
||||||
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
|
|
||||||
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
|
|
||||||
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
|
|
||||||
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.fusiontables" />
|
|
||||||
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.local" />
|
|
||||||
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.wise" />
|
|
||||||
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.writely" />
|
|
||||||
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
|
|
||||||
|
|
||||||
<!-- Permission to read phone state so voice announcement will not interrupt ongoing calls -->
|
|
||||||
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
||||||
|
|
||||||
<!-- Permission to write to SD card -->
|
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
||||||
|
|
||||||
<!-- Permissions to access My Tracks data -->
|
|
||||||
<uses-permission android:name="com.google.android.apps.mytracks.MYTRACKS_NOTIFICATIONS" />
|
|
||||||
<uses-permission android:name="com.google.android.apps.mytracks.READ_TRACK_DATA" />
|
|
||||||
<uses-permission android:name="com.google.android.apps.mytracks.WRITE_TRACK_DATA" />
|
|
||||||
|
|
||||||
<uses-sdk
|
|
||||||
android:minSdkVersion="7"
|
|
||||||
android:targetSdkVersion="15" />
|
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
||||||
@@ -57,7 +57,6 @@ limitations under the License.
|
|||||||
android:text="@string/send_google_maps"
|
android:text="@string/send_google_maps"
|
||||||
style="?android:attr/textAppearanceMedium"/>
|
style="?android:attr/textAppearanceMedium"/>
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/upload_result_list_item_url"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:text="@string/send_google_maps_url"
|
android:text="@string/send_google_maps_url"
|
||||||
@@ -87,7 +86,6 @@ limitations under the License.
|
|||||||
android:text="@string/send_google_fusion_tables"
|
android:text="@string/send_google_fusion_tables"
|
||||||
style="?android:attr/textAppearanceMedium"/>
|
style="?android:attr/textAppearanceMedium"/>
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/upload_result_list_item_url"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:text="@string/send_google_fusion_tables_url"
|
android:text="@string/send_google_fusion_tables_url"
|
||||||
@@ -117,7 +115,6 @@ limitations under the License.
|
|||||||
android:text="@string/send_google_docs"
|
android:text="@string/send_google_docs"
|
||||||
style="?android:attr/textAppearanceMedium"/>
|
style="?android:attr/textAppearanceMedium"/>
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/upload_result_list_item_url"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:text="@string/send_google_docs_url"
|
android:text="@string/send_google_docs_url"
|
||||||
|
|||||||
Reference in New Issue
Block a user