diff options
Diffstat (limited to 'src/components/resumption/src/last_state_impl.cc')
-rw-r--r-- | src/components/resumption/src/last_state_impl.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/resumption/src/last_state_impl.cc b/src/components/resumption/src/last_state_impl.cc index 9920a1499b..dba84d748b 100644 --- a/src/components/resumption/src/last_state_impl.cc +++ b/src/components/resumption/src/last_state_impl.cc @@ -61,10 +61,14 @@ void LastStateImpl::SaveToFileSystem() { styled_string = dictionary_.toStyledString(); } +#ifdef __ANDROID__ + const std::string full_path = app_info_storage_; +#else const std::string full_path = !app_storage_folder_.empty() ? app_storage_folder_ + "/" + app_info_storage_ : app_info_storage_; +#endif const std::vector<uint8_t> char_vector_pdata(styled_string.begin(), styled_string.end()); |