blob: 3e4f1501c7089cd5fd7f006cc8100aa52dced648 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (C) 2019 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="android.provider.cts.contacts">
<uses-sdk android:targetSdkVersion="30" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<!-- We need the calllog permissions for ContactsTest, which is the test for legacy provider. -->
<uses-permission android:name="android.permission.READ_CALL_LOG" />
<uses-permission android:name="android.permission.WRITE_CALL_LOG" />
<queries>
<intent>
<action android:name="android.intent.action.GET_CONTENT" />
<data android:mimeType="vnd.android.cursor.item/contact" />
</intent>
<intent>
<action android:name="android.intent.action.PICK" />
<data android:scheme="content://com.android.contacts/contacts" />
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="content://com.android.contacts/contacts" />
</intent>
</queries>
<application>
<uses-library android:name="android.test.runner"/>
<service android:name=".account.MockAccountService"
android:exported="true">
<intent-filter>
<action android:name="android.accounts.AccountAuthenticator"/>
</intent-filter>
<meta-data android:name="android.accounts.AccountAuthenticator"
android:resource="@xml/contactprovider_authenticator"/>
</service>
</application>
<instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
android:targetPackage="android.provider.cts.contacts">
</instrumentation>
</manifest>