diff options
author | Zhu Youhua <youhua@codeaurora.org> | 2016-07-12 13:29:31 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-09-01 22:39:35 -0700 |
commit | 8cb34a6a2c05e7b8b354f64442bb0b033b4a544c (patch) | |
tree | 78e752a73c5fa2688a39814c40c4972a9b92a9f9 /res/xml | |
parent | 1369e9f8a345662f77aaf23c6f47b65a604b18e0 (diff) | |
download | android_packages_apps_Dialer-8cb34a6a2c05e7b8b354f64442bb0b033b4a544c.tar.gz android_packages_apps_Dialer-8cb34a6a2c05e7b8b354f64442bb0b033b4a544c.tar.bz2 android_packages_apps_Dialer-8cb34a6a2c05e7b8b354f64442bb0b033b4a544c.zip |
Dialer: add video call capability check based on PresenceService
To support video call capability check function in dialer
following changes are made:
1. Add presence AIDL to communicate with presence app.
2. Add logic to show/hide an VT icon in call log list view
and contact detail view by checking if the contact has
the capability for video call.
3. Use flag config_regional_presence_enable to control the feature.
Change-Id: Id02b1f445d95cb40c48705fb1f8faecbf348d884
CRs-Fixed: 1039337
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/video_calling_settings.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/res/xml/video_calling_settings.xml b/res/xml/video_calling_settings.xml new file mode 100644 index 000000000..65e1da66c --- /dev/null +++ b/res/xml/video_calling_settings.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- + * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided + * with the distribution. + * * Neither the name of The Linux Foundation nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +--> + +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> + + <SwitchPreference + android:key="video_calling_preference" + android:persistent="false" + android:title="@string/video_call" /> + +</PreferenceScreen> |