Various improvements and fixes (#128)

- Fix for display orientation assumption in Display app
- Update logo (added colours)
- Fix for double stopping the Files app
- Deny registration of apps and services that are already registered
- Updated `ideas.md` for these changes
- Other cleanup
This commit is contained in:
Ken Van Hoeylandt
2024-12-15 21:15:54 +01:00
committed by GitHub
parent 1b89065c99
commit 49bf8e824c
11 changed files with 162 additions and 100 deletions
@@ -24,7 +24,11 @@ void addService(const ServiceManifest* manifest) {
TT_LOG_I(TAG, "Adding %s", manifest->id.c_str());
manifest_mutex.acquire(TtWaitForever);
service_manifest_map[manifest->id] = manifest;
if (service_manifest_map[manifest->id] == nullptr) {
service_manifest_map[manifest->id] = manifest;
} else {
TT_LOG_E(TAG, "Service id in use: %s", manifest->id.c_str());
}
manifest_mutex.release();
}