Commit Graph

3 Commits

Author SHA1 Message Date
Sunny Goyal
b48556d578 Restricting the java version for plugin lib
Android Studio only supports jre 8, which prevents Robolectric tests
from running in the IDE when using the plugin lib

Test: Verified the tests run successfully
Change-Id: I44bfc1ef551b3e35698bed9084d31c0d5d3f5e6c
2019-12-12 01:26:42 -08:00
Hyunyoung Song
aba9d52b07 Set sdk_version for PluginCoreLib
Bug: 129423457
Test: m Launcher3 && m Launcher3QuickStep

Change-Id: Iea69efb67d4aec124f29eb3cc956b96f5d06f1e7
2019-04-04 18:54:42 +00:00
Tony Wickham
b4593f977b Move code to plugin core lib
This contains the core interfaces for plugin support, e.g. Plugin.java
and the associated annotations. It is reused by the shared library and
plugin interfaces in both sysui and launcher are built off of it.

Test: atest com.android.systemui.shared.plugins
Test: cd $ANDROID_BUILD_TOP/frameworks/base/packages/SystemUI/plugin_core \
    && mma -j32 && cd -
out/target/product/$TARGET_PRODUCT/obj/JAVA_LIBRARIES/PluginCoreLib_intermediates/javalib.jar
contains the created jar and is useable in launcher

Bug: 115877296
Change-Id: I82ca7398e882d6432333238e2f77a12e776f1d76
2018-10-05 14:36:34 -07:00