resolve merge conflicts of d5b3a5d
to nyc-mr1-dev
am: 8f14564787
* commit '8f14564787da3705a895e945c72c890604d13cfd':
Add managed profile setting page
Change-Id: If1f79ebf4127aac5d8eb7b5ce74c32e3ad145121
This commit is contained in:
@@ -7532,5 +7532,11 @@
|
||||
|
||||
<!-- Button label that redirects user who needs help for signin to help screen [CHAR LIMIT=NONE]-->
|
||||
<string name="support_sign_in_required_help">Can\'t access your account?</string>
|
||||
<!-- [CHAR LIMIT=60] Title of work profile setting page -->
|
||||
<string name="managed_profile_settings_title">Work profile settings</string>
|
||||
<!-- [CHAR LIMIT=60] The preference title for enabling cross-profile remote contact search -->
|
||||
<string name="managed_profile_contact_search_title">Contact search</string>
|
||||
<!-- [CHAR LIMIT=NONE] The preference summary for enabling cross-profile remote contact search -->
|
||||
<string name="managed_profile_contact_search_summary">Allow contact searches by your organization to identify callers and contacts</string>
|
||||
|
||||
</resources>
|
||||
|
33
res/xml/managed_profile_settings.xml
Normal file
33
res/xml/managed_profile_settings.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2016 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"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
|
||||
android:title="@string/managed_profile_settings_title">
|
||||
|
||||
<SwitchPreference
|
||||
android:key="work_mode"
|
||||
android:summary="@string/work_mode_summary"
|
||||
android:title="@string/work_mode_label"/>
|
||||
|
||||
<com.android.settingslib.RestrictedSwitchPreference
|
||||
android:key="contacts_search"
|
||||
android:summary="@string/managed_profile_contact_search_summary"
|
||||
android:title="@string/managed_profile_contact_search_title"
|
||||
settings:useAdditionalSummary="true"
|
||||
/>
|
||||
|
||||
</PreferenceScreen>
|
Reference in New Issue
Block a user