Android_Launcher
Applicable to development boards powered by Allwinner A133, H618, and A733 platforms.
A133 Launcher Customization
Source code path
Individual APK compilation
cd android/
source build/envsetup.sh
lunch ceres_c3-userdebug
BUILD_NUMBER=ido-a133 m Launcher3QuickStepGo -j32
Disable Search Box
--- a/android/packages/apps/Launcher3/src/com/android/launcher3/config/BaseFlags.java
+++ b/android/packages/apps/Launcher3/src/com/android/launcher3/config/BaseFlags.java
@@ -68,7 +68,7 @@ abstract class BaseFlags {
public static final boolean LAUNCHER3_PROMISE_APPS_IN_ALL_APPS = false;
// Enable moving the QSB on the 0th screen of the workspace
- public static final boolean QSB_ON_FIRST_SCREEN = true;
+ public static final boolean QSB_ON_FIRST_SCREEN = false;
public static final TogglableFlag EXAMPLE_FLAG = new TogglableFlag("EXAMPLE_FLAG", true,
"An example flag that doesn't do anything. Useful for testing");
H618 Launcher
H618 Android 12.0 is the official TV system, compatible with TV version APPs. Installing tablet or phone version APPs may cause compatibility issues.
TV Launcher
Enable the PRODUCT_PACKAGES corresponding to Tablet
--- a/vendor/aw/homlet/homlet.mk
+++ b/vendor/aw/homlet/homlet.mk
@@ -16,12 +16,12 @@ PRODUCT_PACKAGES += \
DragonSN \
GalleryTV
-#PRODUCT_PACKAGES += \
+PRODUCT_PACKAGES += \
TvLauncher \
TvSettings
-PRODUCT_PACKAGES += \
+PRODUCT_PACKAGES += \
Launcher3 \
+#PRODUCT_PACKAGES += \
Launcher3 \
Settings \
SystemUI
APK path
Tablet Launcher
Enable the PRODUCT_PACKAGES corresponding to Tablet
--- a/vendor/aw/homlet/homlet.mk
+++ b/vendor/aw/homlet/homlet.mk
@@ -16,12 +16,12 @@ PRODUCT_PACKAGES += \
DragonSN \
GalleryTV
-PRODUCT_PACKAGES += \
+#PRODUCT_PACKAGES += \
TvLauncher \
TvSettings
-#PRODUCT_PACKAGES += \
- Launcher3 \
+PRODUCT_PACKAGES += \
+ Launcher3 \
Settings \
SystemUI
APK path
A733 Launcher Customization
A733 K10B Android 13.0 uses the standard Android Launcher3, with a similar architecture to A133.
Source Code Path
Individual APK Compilation
cd android/
source build/envsetup.sh
lunch a733_demo_aiot_arm64-userdebug
make Launcher3QuickStepGo -j32
Disable Search Box
Same modification method as A133:
--- a/android/packages/apps/Launcher3/src/com/android/launcher3/config/BaseFlags.java
+++ b/android/packages/apps/Launcher3/src/com/android/launcher3/config/BaseFlags.java
@@ -68,7 +68,7 @@ abstract class BaseFlags {
public static final boolean LAUNCHER3_PROMISE_APPS_IN_ALL_APPS = false;
// Enable moving the QSB on the 0th screen of the workspace
- public static final boolean QSB_ON_FIRST_SCREEN = true;
+ public static final boolean QSB_ON_FIRST_SCREEN = false;
public static final TogglableFlag EXAMPLE_FLAG = new TogglableFlag("EXAMPLE_FLAG", true,
"An example flag that doesn't do anything. Useful for testing");
Launcher Configuration
The default Launcher for K10B is configured in device-common.mk. Compilation configuration path:
To replace the default Launcher, refer to the package name override method. Add the following to device-common.mk: