mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
More fixes
This commit is contained in:
@@ -42,5 +42,6 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly fileTree(dir: new File(rootProject.projectDir, 'prebuilts/libs'), include: 'wm_shell-aidls.jar')
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
||||
}
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
package com.android.systemui.shared.system;
|
||||
|
||||
import android.annotation.IntDef;
|
||||
import android.os.Build;
|
||||
import android.view.View;
|
||||
|
||||
@@ -47,14 +46,6 @@ public final class InteractionJankMonitorWrapper {
|
||||
public static final int CUJ_APP_LAUNCH_FROM_WIDGET =
|
||||
InteractionJankMonitor.CUJ_LAUNCHER_APP_LAUNCH_FROM_WIDGET;
|
||||
|
||||
@IntDef({
|
||||
CUJ_APP_LAUNCH_FROM_RECENTS,
|
||||
CUJ_APP_LAUNCH_FROM_ICON,
|
||||
CUJ_APP_CLOSE_TO_HOME,
|
||||
CUJ_APP_CLOSE_TO_PIP,
|
||||
CUJ_QUICK_SWITCH,
|
||||
CUJ_APP_LAUNCH_FROM_WIDGET,
|
||||
})
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
public @interface CujType {
|
||||
}
|
||||
|
||||
@@ -172,7 +172,7 @@ android {
|
||||
java.srcDirs = ['src', 'src_plugins']
|
||||
manifest.srcFile 'AndroidManifest-common.xml'
|
||||
proto {
|
||||
srcDirs = ['protos/', 'protos_overrides/', 'quickstep/proto_overrides/']
|
||||
srcDirs = ['protos/', 'quickstep/protos_overrides/']
|
||||
}
|
||||
}
|
||||
|
||||
@@ -263,6 +263,7 @@ dependencies {
|
||||
|
||||
// Recents lib dependency
|
||||
withQuickstepImplementation project(':SystemUIShared')
|
||||
implementation fileTree(dir: "${FRAMEWORK_PREBUILTS_DIR}/libs", include: 'wm_shell-aidls.jar')
|
||||
|
||||
// Required for AOSP to compile. This is already included in the sysui_shared.jar
|
||||
withoutQuickstepImplementation fileTree(dir: "${FRAMEWORK_PREBUILTS_DIR}/libs", include: 'plugin_core.jar')
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
*/
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
|
||||
|
||||
<application>
|
||||
<meta-data
|
||||
android:name="preloaded_fonts"
|
||||
@@ -54,5 +56,13 @@
|
||||
<action android:name="android.accessibilityservice.AccessibilityService" />
|
||||
</intent-filter>
|
||||
</service>
|
||||
|
||||
<meta-data
|
||||
android:name="xyz.paphonb.quickstepswitcher.minSdk"
|
||||
android:value="31" />
|
||||
|
||||
<meta-data
|
||||
android:name="xyz.paphonb.quickstepswitcher.maxSdk"
|
||||
android:value="31" />
|
||||
</application>
|
||||
</manifest>
|
||||
|
||||
@@ -9,7 +9,7 @@ import com.android.launcher3.allapps.WorkAdapterProvider
|
||||
import com.android.launcher3.model.data.AppInfo
|
||||
import com.android.launcher3.util.ItemInfoMatcher
|
||||
|
||||
class LawnchairAlphabeticalAppsList(context: Context, appsStore: AllAppsStore, adapterProvider: WorkAdapterProvider) :
|
||||
class LawnchairAlphabeticalAppsList(context: Context, appsStore: AllAppsStore, adapterProvider: WorkAdapterProvider?) :
|
||||
AlphabeticalAppsList(context, appsStore, adapterProvider) {
|
||||
|
||||
private val hiddenApps = PreferenceManager.getInstance(context).hiddenAppSet
|
||||
|
||||
Submodule platform_frameworks_libs_systemui updated: 600067fce6...1bce2a5fb9
BIN
prebuilts/libs/wm_shell-aidls.jar
Normal file
BIN
prebuilts/libs/wm_shell-aidls.jar
Normal file
Binary file not shown.
@@ -630,6 +630,8 @@ public class DeviceProfile {
|
||||
allAppsIconDrawablePaddingPx = iconDrawablePaddingOriginalPx;
|
||||
autoResizeAllAppsCells();
|
||||
} else {
|
||||
allAppsIconSizePx = iconSizePx;
|
||||
allAppsIconTextSizePx = iconTextSizePx;
|
||||
allAppsIconDrawablePaddingPx = iconDrawablePaddingPx;
|
||||
allAppsCellHeightPx = getCellSize().y;
|
||||
}
|
||||
|
||||
@@ -474,7 +474,7 @@ public class LauncherPreviewRenderer extends ContextWrapper
|
||||
}
|
||||
|
||||
// Add first page QSB
|
||||
if (FeatureFlags.QSB_ON_FIRST_SCREEN) {
|
||||
if (FeatureFlags.topQsbOnFirstScreenEnabled(mContext)) {
|
||||
View qsb = mHomeElementInflater.inflate(
|
||||
R.layout.search_container_workspace, mWorkspace, false);
|
||||
CellLayout.LayoutParams lp =
|
||||
|
||||
Reference in New Issue
Block a user