Bunch of changes: - Split public SmartSuggestionsService info ContentCaptureService and AugmentedAutofillService - Renamed 'intelligence' packages to either 'contentcapture' or 'autofil.augmented' - Renamed internal packages and classes. - Changed permissions, resource names, etc... - Moved Augmented Autofill logic from IntelligeceManagerService (R.I.P.) to Autofill. - Optimized IPCs by passing a String instead of the InteractionSessionId (that also solves the view -> service dependency). Test: atest CtsContentCaptureServiceTestCases \ CtsAutoFillServiceTestCases \ FrameworksCoreTests:SettingsBackupTest Test: manual verification with Augmented Autofill Service Bug: 119638877 Bug: 117944706 Change-Id: I787fc2a0dbd9ad53e4d5edb0d2a9242346e4652d
54 lines
1.3 KiB
Plaintext
54 lines
1.3 KiB
Plaintext
// merge all required services into one jar
|
|
// ============================================================
|
|
java_library {
|
|
name: "services",
|
|
installable: true,
|
|
|
|
dex_preopt: {
|
|
app_image: true,
|
|
profile: "art-profile",
|
|
},
|
|
|
|
srcs: [
|
|
"java/**/*.java",
|
|
],
|
|
|
|
// The convention is to name each service module 'services.$(module_name)'
|
|
static_libs: [
|
|
"services.core",
|
|
"services.accessibility",
|
|
"services.appwidget",
|
|
"services.autofill",
|
|
"services.backup",
|
|
"services.companion",
|
|
"services.contentcapture",
|
|
"services.coverage",
|
|
"services.devicepolicy",
|
|
"services.midi",
|
|
"services.net",
|
|
"services.print",
|
|
"services.restrictions",
|
|
"services.usage",
|
|
"services.usb",
|
|
"services.voiceinteraction",
|
|
"android.hidl.base-V1.0-java",
|
|
],
|
|
|
|
libs: [
|
|
"android.hidl.manager-V1.0-java",
|
|
],
|
|
|
|
// Uncomment to enable output of certain warnings (deprecated, unchecked)
|
|
//javacflags: ["-Xlint"],
|
|
|
|
}
|
|
|
|
// native library
|
|
// =============================================================
|
|
|
|
cc_library_shared {
|
|
name: "libandroid_servers",
|
|
defaults: ["libservices.core-libs"],
|
|
whole_static_libs: ["libservices.core"],
|
|
}
|