Skip to content
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

App Icons folder will never be used if it is empty #3360

Closed
iCollin opened this issue May 11, 2020 · 1 comment
Closed

App Icons folder will never be used if it is empty #3360

iCollin opened this issue May 11, 2020 · 1 comment

Comments

@iCollin
Copy link
Collaborator

iCollin commented May 11, 2020

Bug Report

The App Icons folder defined in smartDeviceLink.ini will not have any files written to it if the folder is empty. This was likely never noticed because by default the icons folder is storage in which core will place policy.sqlite on every start.

Reproduction Steps
  1. modify smartDeviceLink.ini with this property:
AppIconsFolder = storage/icons/
  1. ensure storage/icons folder is empty or does not yet exist
  2. start Core and HMI, connect an application and send SetAppIcon
Expected Behavior

The app icon is saved in storage/icons

Observed Behavior

The app icon is saved in the app's storage folder and the following log is printed:
Can't get the folder size: .../storage/icons

OS & Version Information
  • OS/Version: any
  • SDL Core Version: 6.1.1
  • Testing Against: App
@iCollin
Copy link
Collaborator Author

iCollin commented May 13, 2020

Closed via #3361

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant