-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SDL4.0]SDL does not create icons folder in case it was removed #2649
Conversation
The check for existence directory of app icons folder has been added to SetAppIconRequest.
@@ -60,6 +60,14 @@ SetAppIconRequest::SetAppIconRequest( | |||
, is_icons_saving_enabled_(false) { | |||
const std::string path = | |||
application_manager_.get_settings().app_icons_folder(); | |||
|
|||
if (!file_system::DirectoryExists(path)) { | |||
LOG4CXX_WARN(logger_, "App icons folder doesn't exist."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ValeriiMalkov as a suggestion, maybe it's worth to log the unexisting path here too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mked-luxoft what purpose for this? See next lines, please
@ValeriiMalkov Check grammar in PR description |
… (#3359) The check for existence directory of app icons folder has been added to SetAppIconRequest. Co-authored-by: ValeriiMalkov <[email protected]> Co-authored-by: ValeriiMalkov <[email protected]>
…tdevicelink#2649) (smartdevicelink#3359) The check for existence directory of app icons folder has been added to SetAppIconRequest. Co-authored-by: ValeriiMalkov <[email protected]> Co-authored-by: ValeriiMalkov <[email protected]>
Fixes #1003
This PR is ready for review.
Risk
This PR makes no API changes.
Testing Plan
Covered by ATF test
Summary
There was a problem if SDL4.0 feature is enabled in
.ini
file. ' Icons' values is set asAppIconsFolder
value. If remove this folder after start SDL and register app with 4th protocolSDL should creates this folder.
CLA