Apply android.jar defaults to system server stub

Unclear why this wasn't the case in the past, so tidy up. This has
the nice side-effect of making the stub public which makes it
accessible from a subdirectory.

Bug: 271563074
Test: m
Change-Id: Iec1e01e845b67cc0277ab9a519c04d56c016a301
This commit is contained in:
Anton Hansson
2023-03-03 16:22:42 +00:00
parent c1992841ee
commit 21fb108a6f

View File

@@ -364,15 +364,15 @@ java_library {
java_library {
name: "android_system_server_stubs_current",
defaults: ["android_stubs_dists_default"],
defaults: [
"android.jar_defaults",
"android_stubs_dists_default",
],
srcs: [":services-non-updatable-stubs"],
installable: false,
static_libs: [
"android_module_lib_stubs_current",
],
sdk_version: "none",
system_modules: "none",
java_version: "1.8",
dist: {
dir: "apistubs/android/system-server",
},