Add settings to enable bookmarks sync.
Change-Id: I86bc4ce9d21ec0a040322bd704cef46eaa17dc9c
diff --git a/res/xml/personal_preferences.xml b/res/xml/personal_preferences.xml
new file mode 100644
index 0000000..14b057c
--- /dev/null
+++ b/res/xml/personal_preferences.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 The Android Open Source Project
+
+ 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">
+
+ <Preference android:key="sync_with_chrome"
+ android:title="@string/pref_personal_sync_with_chrome"
+ android:summary="@string/pref_personal_sync_with_chrome_summary"
+ />
+
+</PreferenceScreen>
diff --git a/res/xml/preference_headers.xml b/res/xml/preference_headers.xml
index 54660b4..1a54990 100644
--- a/res/xml/preference_headers.xml
+++ b/res/xml/preference_headers.xml
@@ -19,11 +19,11 @@
<header android:fragment="com.android.browser.preferences.PageContentPreferencesFragment"
android:title="@string/pref_content_title"
/>
-<!--
- <header android:fragment="com.example.android.apis.preference.PreferenceWithHeaders$Prefs2Fragment"
- android:title="Personal settings"
- </header>
--->
+
+ <header android:fragment="com.android.browser.preferences.PersonalPreferencesFragment"
+ android:title="@string/pref_personal_title"
+ />
+
<header android:fragment="com.android.browser.preferences.PrivacyPreferencesFragment"
android:title="@string/pref_privacy_title"
/>