| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- | |
| /* | |
| ** Copyright (C) 2025 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.contactspicker"> | |
| <application | |
| android:name=".ContactsPickerApplication" | |
| android:label="@string/contacts_picker_app_label" | |
| android:supportsRtl="true"> | |
| <activity | |
| android:name=".ContactsPickerActivity" | |
| android:exported="true" | |
| android:launchMode="singleTop" | |
| android:theme="@style/Theme.ActivityTheme" | |
| android:visibleToInstantApps="true" | |
| android:featureFlag="android.content.flags.enable_system_contacts_picker"> | |
| <intent-filter android:priority="101"> | |
| <action android:name="android.intent.action.PICK" /> | |
| <category android:name="android.intent.category.DEFAULT" /> | |
| <data android:mimeType="vnd.android.cursor.dir/contact" /> | |
| <data android:mimeType="vnd.android.cursor.dir/phone_v2" /> | |
| <data android:mimeType="vnd.android.cursor.dir/email_v2" /> | |
| </intent-filter> | |
| <intent-filter android:priority="101"> | |
| <action android:name="android.provider.action.PICK_CONTACTS" /> | |
| <category android:name="android.intent.category.DEFAULT" /> | |
| </intent-filter> | |
| </activity> | |
| </application> | |
| <uses-sdk android:minSdkVersion="37" android:targetSdkVersion="37" /> | |
| <uses-permission android:name="android.permission.READ_CONTACTS" /> | |
| <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> | |
| <uses-permission android:name="android.permission.MANAGE_CONTACTS_PICKER_SESSION" /> | |
| <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> | |
| <uses-permission android:name="android.permission.HIDE_OVERLAY_WINDOWS" /> | |
| </manifest> |