include system apps

This commit is contained in:
randogoth 2025-02-24 16:53:45 +02:00
parent 2fde531964
commit c065a013fc
3 changed files with 12 additions and 1 deletions

View file

@ -9,6 +9,7 @@ android {
namespace = "vision.flux.plasmoid"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
compileSdkVersion 34
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
@ -28,6 +29,7 @@ android {
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
targetSdkVersion 34
}
buildTypes {

View file

@ -10,6 +10,13 @@ subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
afterEvaluate { project ->
if (project.hasProperty("android")) {
project.android {
compileSdkVersion 34
}
}
}
project.buildDir = "${rootProject.buildDir}/${project.name}"
project.evaluationDependsOn(':app') // Ensure dependencies are evaluated correctly

View file

@ -154,6 +154,7 @@ class _AppLauncherScreenState extends State<AppLauncherScreen> {
List<Application> installedApps = await DeviceApps.getInstalledApplications(
includeAppIcons: true,
onlyAppsWithLaunchIntent: true,
includeSystemApps: true
);
List<AppInfo> loadedApps = installedApps.map((app) {
@ -461,6 +462,7 @@ class _AppLauncherScreenState extends State<AppLauncherScreen> {
sortAlphabetically: widget.settings.sortAlphabetically,
autoFocus: !widget.settings.autoFocus,
));
if (!widget.settings.autoFocus) FocusScope.of(context).unfocus();
break;
case 'About':
_showInfoPage(context, "About", aboutContent);
@ -605,7 +607,7 @@ Use the menu button (plasmoid) to toggle settings such as icon visibility, color
---
Made with 💚 by randogothimport 'package:plasmoid/texts.dart';
Made with 💚 by randogoth
Icon by [Game Icons.net](https://game-icons.net/).
""";