Felipe Leme e4ac740e39 Implemented getAlgorithm() and getDefaultAlgorithm() using manifest metadata.
Bug: 70939974
Test: atest CtsAutoFillServiceTestCases:FieldsClassificationTest

Change-Id: I8b7028c0acfef164b84821a9e4c99817acc838f8
2018-01-19 09:39:38 -08:00

71 lines
3.0 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" />
<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"
android:priority="-1" >
<intent-filter>
<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>
<library android:name="android.ext.services"/>
</application>
</manifest>