Files
frameworks_base/packages/ExtServices/AndroidManifest.xml
Tony Mak 9e0dfdce60 Support copy action in ExtServices
1. Implemented CopyCodeActivity to copy the text from the incoming intent
2. Support ConversationAction of type == "copy"

Test: 1. atest SmartActionsHelperTest
      2. Send myself a message "Authentication code: 12345", observe
         the copy action. Tap on it, observe a toast and verify that
         the code is copied

BUG: 126193140
Change-Id: I73ac3b36413fd5f632951b48910c557a22b20c52
2019-03-15 16:56:02 +00:00

89 lines
3.8 KiB
XML

<?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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
package="android.ext.services"
android:versionCode="1"
android:versionName="1"
coreApp="true">
<uses-permission android:name="android.permission.PROVIDE_RESOLVER_RANKER_SERVICE" />
<uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
<uses-permission android:name="android.permission.MONITOR_DEFAULT_SMS_PACKAGE" />
<uses-permission android:name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE" />
<uses-sdk
android:targetSdkVersion="28"
/>
<application android:label="@string/app_name"
android:defaultToDeviceProtectedStorage="true"
android:directBootAware="true">
<service android:name=".storage.CacheQuotaServiceImpl"
android:permission="android.permission.BIND_CACHE_QUOTA_SERVICE">
<intent-filter>
<action android:name="android.app.usage.CacheQuotaService" />
</intent-filter>
</service>
<service android:name=".resolver.LRResolverRankerService"
android:permission="android.permission.BIND_RESOLVER_RANKER_SERVICE">
<intent-filter android:priority="-1">
<action android:name="android.service.resolver.ResolverRankerService" />
</intent-filter>
</service>
<service android:name=".notification.Assistant"
android:label="@string/notification_assistant"
android:permission="android.permission.BIND_NOTIFICATION_ASSISTANT_SERVICE"
android:exported="true">
<intent-filter>
<action android:name="android.service.notification.NotificationAssistantService" />
</intent-filter>
</service>
<service android:name=".autofill.AutofillFieldClassificationServiceImpl"
android:permission="android.permission.BIND_AUTOFILL_FIELD_CLASSIFICATION_SERVICE">
<intent-filter>
<action android:name="android.service.autofill.AutofillFieldClassificationService" />
</intent-filter>
<meta-data
android:name="android.autofill.field_classification.default_algorithm"
android:resource="@string/autofill_field_classification_default_algorithm" />
<meta-data
android:name="android.autofill.field_classification.available_algorithms"
android:resource="@array/autofill_field_classification_available_algorithms" />
</service>
<service android:name=".sms.FinancialSmsServiceImpl"
android:permission="android.permission.BIND_FINANCIAL_SMS_SERVICE">
<intent-filter>
<action android:name="android.service.sms.action.FINANCIAL_SERVICE_INTENT" />
</intent-filter>
</service>
<activity android:name=".notification.CopyCodeActivity"
android:exported="false"
android:theme="@android:style/Theme.NoDisplay"/>
<library android:name="android.ext.services"/>
</application>
</manifest>