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:
committed by
GitHub
parent
1b89065c99
commit
49bf8e824c
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user