include system apps
This commit is contained in:
parent
2fde531964
commit
c065a013fc
3 changed files with 12 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ android {
|
||||||
namespace = "vision.flux.plasmoid"
|
namespace = "vision.flux.plasmoid"
|
||||||
compileSdk = flutter.compileSdkVersion
|
compileSdk = flutter.compileSdkVersion
|
||||||
ndkVersion = flutter.ndkVersion
|
ndkVersion = flutter.ndkVersion
|
||||||
|
compileSdkVersion 34
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
|
@ -28,6 +29,7 @@ android {
|
||||||
targetSdk = flutter.targetSdkVersion
|
targetSdk = flutter.targetSdkVersion
|
||||||
versionCode = flutter.versionCode
|
versionCode = flutter.versionCode
|
||||||
versionName = flutter.versionName
|
versionName = flutter.versionName
|
||||||
|
targetSdkVersion 34
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,13 @@ subprojects {
|
||||||
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
||||||
}
|
}
|
||||||
subprojects {
|
subprojects {
|
||||||
|
afterEvaluate { project ->
|
||||||
|
if (project.hasProperty("android")) {
|
||||||
|
project.android {
|
||||||
|
compileSdkVersion 34
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
||||||
project.evaluationDependsOn(':app') // Ensure dependencies are evaluated correctly
|
project.evaluationDependsOn(':app') // Ensure dependencies are evaluated correctly
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -154,6 +154,7 @@ class _AppLauncherScreenState extends State<AppLauncherScreen> {
|
||||||
List<Application> installedApps = await DeviceApps.getInstalledApplications(
|
List<Application> installedApps = await DeviceApps.getInstalledApplications(
|
||||||
includeAppIcons: true,
|
includeAppIcons: true,
|
||||||
onlyAppsWithLaunchIntent: true,
|
onlyAppsWithLaunchIntent: true,
|
||||||
|
includeSystemApps: true
|
||||||
);
|
);
|
||||||
|
|
||||||
List<AppInfo> loadedApps = installedApps.map((app) {
|
List<AppInfo> loadedApps = installedApps.map((app) {
|
||||||
|
|
@ -461,6 +462,7 @@ class _AppLauncherScreenState extends State<AppLauncherScreen> {
|
||||||
sortAlphabetically: widget.settings.sortAlphabetically,
|
sortAlphabetically: widget.settings.sortAlphabetically,
|
||||||
autoFocus: !widget.settings.autoFocus,
|
autoFocus: !widget.settings.autoFocus,
|
||||||
));
|
));
|
||||||
|
if (!widget.settings.autoFocus) FocusScope.of(context).unfocus();
|
||||||
break;
|
break;
|
||||||
case 'About':
|
case 'About':
|
||||||
_showInfoPage(context, "About", aboutContent);
|
_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/).
|
Icon by [Game Icons.net](https://game-icons.net/).
|
||||||
""";
|
""";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue