From 2dbcf0973bd04c2b66e6280a3ce7363876ce7108 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Wed, 24 Oct 2018 13:00:41 -0700 Subject: Moving SysUI with legacy Recents to another build target - Move all legacy recents code out of the core sysui code - Add separate target for products which still depend on it - Move overview proxy implementation into another implementation of the recents interface Test: atest SystemUITests Test: Push SystemUiWithLegacyRecents to the system image adb shell pm disable com.google.android.apps.nexuslauncher/com.android.quickstep.TouchInteractionService and ensure that the old recents implementation still works (and split screen) Change-Id: Iad67218ec37c13c79b6393d87f6bdc4f3996e2c6 Signed-off-by: Winson Chung --- packages/SystemUI/Android.bp | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'packages/SystemUI/Android.bp') diff --git a/packages/SystemUI/Android.bp b/packages/SystemUI/Android.bp index 9c33116a149b..b770d5c88324 100644 --- a/packages/SystemUI/Android.bp +++ b/packages/SystemUI/Android.bp @@ -156,3 +156,43 @@ android_app { ], } + +// Only used for products that are shipping legacy Recents +android_app { + name: "SystemUIWithLegacyRecents", + overrides: [ + "SystemUI", + ], + + platform_apis: true, + certificate: "platform", + privileged: true, + + dxflags: ["--multi-dex"], + aaptflags: [ + "--extra-packages", + "com.android.keyguard", + ], + optimize: { + proguard_flags_files: ["proguard.flags", "legacy/recents/proguard.flags"], + }, + + static_libs: [ + "SystemUI-core", + ], + libs: [ + "telephony-common", + "android.car", + "android.car.user", + ], + + srcs: [ + "legacy/recents/src/**/*.java", + "legacy/recents/src/**/I*.aidl", + ], + resource_dirs: [ + "legacy/recents/res", + ], + + manifest: "legacy/recents/AndroidManifest.xml", +} -- cgit v1.2.3-59-g8ed1b