diff options
author | Alexandra Gherghina <alexgherghina@google.com> | 2014-07-09 09:30:18 +0100 |
---|---|---|
committer | Alexandra Gherghina <alexgherghina@google.com> | 2014-07-22 12:00:10 +0000 |
commit | 64fde6f4e9404a363f577a9fda424affcb5138e4 (patch) | |
tree | 50bc82b518574e8168716b3700cc5a26e9e4ebe1 /res/menu | |
parent | ff795ffba80e8a6455f27fab7ad0e8e14e2ec9a4 (diff) | |
download | packages_apps_Settings-64fde6f4e9404a363f577a9fda424affcb5138e4.tar.gz packages_apps_Settings-64fde6f4e9404a363f577a9fda424affcb5138e4.tar.bz2 packages_apps_Settings-64fde6f4e9404a363f577a9fda424affcb5138e4.zip |
Move global sync settings to AccountSettings.
It also makes AccountSettings respond to the SYNC_SETTINGS intent, which
it is currently triggered by Calendar and could be triggered by Gmail.
Bug: 16076571
Change-Id: I2c55262a87e46ba88f36a90a2f8f27d08f88e851
Diffstat (limited to 'res/menu')
-rw-r--r-- | res/menu/account_settings.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/res/menu/account_settings.xml b/res/menu/account_settings.xml new file mode 100644 index 000000000..88feb6642 --- /dev/null +++ b/res/menu/account_settings.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 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. +--> + +<menu xmlns:android="http://schemas.android.com/apk/res/android"> + <item + android:id="@+id/account_settings_menu_auto_sync" + android:title="@string/account_settings_menu_auto_sync" + android:checkable="true" /> + <item + android:id="@+id/account_settings_menu_auto_sync_personal" + android:title="@string/account_settings_menu_auto_sync_personal" + android:checkable="true" /> + <item + android:id="@+id/account_settings_menu_auto_sync_work" + android:title="@string/account_settings_menu_auto_sync_work" + android:checkable="true" /> +</menu> |