@PATH: src/com/android/launcher3/model/data/ItemInfo.java
*********************************************************
// import com.android.launcher3.logger.LauncherAtom.TaskForegroundContainer;
*********************************************************
// case CONTAINER_TASKFOREGROUND:
// return ContainerInfo.newBuilder()
// .setTaskForegroundContainer(TaskForegroundContainer.getDefaultInstance())
// .build();
# Setup build environment
gradle wrapper
# Build and package
./gradlew assemble
adb push Launcher3QuickStep.apk /system/system_ext/priv-app/Launcher3QuickStep/Launcher3QuickStep.apk
adb shell killall com.android.launcher3
adb reboot
adb install Launcher3QuickStep.apk
// AOSP/android-11/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-header.jar
compileOnly files('libs/framework.jar')
// AOSP/android-11/out/soong/.intermediates/packages/apps/Launcher3/launcher_log_protos_lite/android_common/combined/launcher_log_protos_lite.jar
implementation files("libs/launcher_log_protos_lite.jar")
// AOSP/android-11/out/soong/.intermediates/external/protobuf/libprotobuf-java-nano/android_common/javac/libprotobuf-java-nano.jar
implementation files("libs/libprotobuf-java-nano.jar")
// AOSP/android-11/out/soong/.intermediates/frameworks/base/packages/SystemUI/plugin_core/PluginCoreLib/android_common/javac/PluginCoreLib.jar
implementation files("libs/PluginCoreLib.jar")
// AOSP/android-11/out/soong/.intermediates/frameworks/base/packages/SystemUI/shared/SystemUI-statsd/android_common/javac/SystemUI-statsd.jar
implementation files("libs/SystemUI-statsd.jar")
// AOSP/android-11/out/soong/.intermediates/frameworks/base/packages/SystemUI/shared/SystemUISharedLib/android_common/javac/SystemUISharedLib.jar
implementation files("libs/SystemUISharedLib.jar")
// AOSP/android-11/frameworks/libs/systemui/iconloaderlib
implementation project(':IconLoader')
Find the signing certificates in the AOSP/android-11/build/target/product/security path and use keytool-importkeypair to generate the keystore. Execute the following command:
./keytool-importkeypair -k testkey.keystore -p 123456 -pk8 testkey.pk8 -cert testkey.x509.pem -alias testkey
And add the following code to the gradle configuration:
signingConfigs {
testkey {
storeFile file("testkey.keystore")
storePassword '123456'
keyAlias 'testkey'
keyPassword '123456'
}
}
buildTypes {
debug {
minifyEnabled false
signingConfig signingConfigs.testkey
}
}