diff options
Diffstat (limited to 'java/com/android/dialer/shortcuts/AndroidManifest.xml')
-rw-r--r-- | java/com/android/dialer/shortcuts/AndroidManifest.xml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/java/com/android/dialer/shortcuts/AndroidManifest.xml b/java/com/android/dialer/shortcuts/AndroidManifest.xml new file mode 100644 index 000000000..e731a3e68 --- /dev/null +++ b/java/com/android/dialer/shortcuts/AndroidManifest.xml @@ -0,0 +1,50 @@ +<!-- + ~ 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 + --> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="com.android.dialer.shortcuts"> + + <uses-sdk + android:minSdkVersion="23" + android:targetSdkVersion="25"/> + + <application> + + <service + android:exported="false" + android:name=".PeriodicJobService" + android:permission="android.permission.BIND_JOB_SERVICE"/> + + <!-- + Comments for attributes in CallContactActivity: + taskAffinity="" -> Open the dialog without opening the dialer app behind it + noHistory="true" -> Navigating away finishes activity + excludeFromRecents="true" -> Don't show in "recent apps" screen + + We do not export this activity and do not declare an intent filter as a security precaution + so that apps other than the dialer cannot attempt to make phone calls using it. + --> + <activity + android:name=".CallContactActivity" + android:taskAffinity="" + android:noHistory="true" + android:excludeFromRecents="true" + android:label="" + android:exported="false" + android:theme="@style/CallContactsTheme"/> + + </application> + +</manifest> |