• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
18
19    <PreferenceCategory
20        android:key="location_category"
21        android:title="@string/location_title">
22
23        <CheckBoxPreference
24            android:key="location_network"
25            android:title="@string/location_network_based"
26            android:summaryOn="@string/location_neighborhood_level"
27            android:summaryOff="@string/location_networks_disabled"/>
28
29        <CheckBoxPreference
30            android:key="location_gps"
31            android:title="@string/location_gps"
32            android:summaryOn="@string/location_street_level"
33            android:summaryOff="@string/location_gps_disabled"/>
34
35<!-- Disabled to avoid confusion on devices with no AGPS
36     For Google experience devices we want AGPS on by default (if supported) so we don't really need this.
37        <CheckBoxPreference
38            android:key="assisted_gps"
39            android:title="@string/assisted_gps"
40            android:summaryOn="@string/assisted_gps_enabled"
41            android:summaryOff="@string/assisted_gps_disabled"/>
42-->
43
44    </PreferenceCategory>
45
46</PreferenceScreen>
47