aospa: Introduce Launcher3NoHintOverlay

We need to move the task cards to a higher position to avoid
overlap with the clear all button when in no hint mode.

Change-Id: I103968d36cfa415e8511b419a2de252debee887c
Signed-off-by: LibXZR <i@xzr.moe>
This commit is contained in:
LibXZR 2022-02-23 21:07:43 +08:00 committed by Fazil Sheik
parent b5c4732d66
commit 096b56c3e1
4 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,7 @@
runtime_resource_overlay {
name: "Launcher3NoHintOverlay",
theme: "Launcher3NoHint",
certificate: "platform",
sdk_version: "current",
product_specific: true
}

View File

@ -0,0 +1,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="co.aospa.overlay.systemui.launcher3.nohint"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="com.android.launcher3" android:priority="1" />
<application android:label="Launcher3NoHint" android:hasCode="false"/>
</manifest>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="overview_task_extra_bottom_margin">46dp</dimen>
</resources>

View File

@ -71,7 +71,8 @@ PRODUCT_PACKAGES += \
ParanoidLauncherOverlay \
PermissionControllerOverlay \
OpenDeltaOverlay \
KeyboardNoNavigationBarOverlay
KeyboardNoNavigationBarOverlay \
Launcher3NoHintOverlay
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/aospa/overlay/static
PRODUCT_PACKAGE_OVERLAYS += vendor/aospa/overlay/static