<?xml version="1.0" encoding="utf-8"?><!--
  ~ Copyright 2013-2015 microG Project Team
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
    <PreferenceCategory android:title="@string/prefcat_setup">
        <Preference
            android:key="@string/self_check_title"
            android:summary="@string/self_check_desc"
            android:title="@string/self_check_title">
        </Preference>
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/prefcat_services">
        <CheckBoxPreference
            android:defaultValue="false"
            android:key="@string/pref_checkin_enable"
            android:summary="@string/pref_checkin_enable_summary"
            android:title="@string/pref_checkin_enable_title"/>
        <CheckBoxPreference
            android:defaultValue="false"
            android:dependency="@string/pref_checkin_enable"
            android:key="@string/pref_gcm_enable_mcs"
            android:summary="@string/pref_gcm_enable_mcs_summary"
            android:title="@string/pref_gcm_enable_mcs_title"/>
        <EditTextPreference
            android:defaultValue="60"
            android:dependency="@string/pref_gcm_enable_mcs"
            android:key="@string/pref_gcm_heartbeat"
            android:summary="@string/pref_gcm_heartbeat_summary"
            android:title="@string/pref_gcm_heartbeat_title"/>
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/prefcat_location_service">
        <Preference android:title="@string/nlp_settings_label">
            <intent
                android:targetClass="org.microg.nlp.ui.SettingsActivity"
                android:targetPackage="com.google.android.gms"/>
        </Preference>
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/prefcat_about">
        <Preference
            android:key="@string/pref_about_title"
            android:summary="@string/pref_about_summary"
            android:title="@string/pref_about_title"/>
    </PreferenceCategory>
</PreferenceScreen>
