diff options
author | Joel Winarske <joel.winarske@gmail.com> | 2022-08-03 18:19:31 -0700 |
---|---|---|
committer | Joel Winarske <joel.winarske@gmail.com> | 2022-08-03 18:19:31 -0700 |
commit | adbb12626100901bc815deba27733fe1a3ebc3cc (patch) | |
tree | 6f70ed31f427b342689b1d7785ac9ae7e5bdc0e8 /meta-agl-flutter/recipes-graphics/toyota/files/0003-shell-configuration-Fixes-to-general-options.patch | |
parent | 9a4f63a3bc70b11bd070989b95ddca2c11920a57 (diff) |
meta-agl-flutter refactor
- application rename -> flutter-auto
- adopts upstream (meta-flutter) bbclass for runtime selection
runtimedebug -> runtime=debug
runtimeprofile -> runtime=profile
runtimerelease -> runtime=release
*This also affects image names*
- A discrete json files for each runtime configuration
demuxing of runtime config happens in bbappend.
- prevent dev host conflict with flutter-auto.service in case
of debug and profile. The dev host machine controls
homescreen in these scenarios.
- simplifies inc and recipes
Dependent on https://gerrit.automotivelinux.org/gerrit/c/AGL/AGL-repo/+/27850
Bug-AGL: SPEC-4326
Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Change-Id: I877811417e3befab4d48a906058dcb52c81be4ce
Diffstat (limited to 'meta-agl-flutter/recipes-graphics/toyota/files/0003-shell-configuration-Fixes-to-general-options.patch')
-rw-r--r-- | meta-agl-flutter/recipes-graphics/toyota/files/0003-shell-configuration-Fixes-to-general-options.patch | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/meta-agl-flutter/recipes-graphics/toyota/files/0003-shell-configuration-Fixes-to-general-options.patch b/meta-agl-flutter/recipes-graphics/toyota/files/0003-shell-configuration-Fixes-to-general-options.patch deleted file mode 100644 index f06d4548..00000000 --- a/meta-agl-flutter/recipes-graphics/toyota/files/0003-shell-configuration-Fixes-to-general-options.patch +++ /dev/null @@ -1,52 +0,0 @@ -From a3a1421c3986bbafd9f91997eec7f2606ef67fc3 Mon Sep 17 00:00:00 2001 -From: Marius Vlad <marius.vlad@collabora.com> -Date: Mon, 25 Jul 2022 15:53:17 +0300 -Subject: [PATCH 3/3] shell/configuration: Fixes to general options - -This patch avoids an automatic overwrite of the debug_backend and -disable_cursor entries. If enabled in the configuration file, the test -will always return true, basically overwriting to false. - -Also, use the correct entry in the README file for debug_backend. - -Signed-off-by: Marius Vlad <marius.vlad@collabora.com> ---- - README.md | 2 +- - shell/configuration/configuration.cc | 6 ++++-- - 2 files changed, 5 insertions(+), 3 deletions(-) - -diff --git a/README.md b/README.md -index 7c162eb..d459f4c 100644 ---- a/README.md -+++ b/README.md -@@ -175,7 +175,7 @@ Loads Single View - - { - "disable_cursor":true, -- "backend_debug":true, -+ "debug_backend":true, - "accessibility_features":31, - "view":{ - "bundle_path":"/home/joel/development/gallery/.homescreen/x86/release", -diff --git a/shell/configuration/configuration.cc b/shell/configuration/configuration.cc -index 616de48..773724c 100644 ---- a/shell/configuration/configuration.cc -+++ b/shell/configuration/configuration.cc -@@ -152,10 +152,12 @@ void Configuration::getCliOverrides(Config& instance, Config& cli) { - if (!cli.cursor_theme.empty()) { - instance.cursor_theme = cli.cursor_theme; - } -- if (cli.disable_cursor != instance.disable_cursor) { -+ if (cli.disable_cursor == true && -+ cli.disable_cursor != instance.disable_cursor) { - instance.disable_cursor = cli.disable_cursor; - } -- if (cli.debug_backend != instance.debug_backend) { -+ if (cli.debug_backend == true && -+ cli.debug_backend != instance.debug_backend) { - instance.debug_backend = cli.debug_backend; - } - if (!cli.view.vm_args.empty()) { --- -2.35.3 - |