Split Android storage paths from legacy fallback
This commit is contained in:
@@ -276,7 +276,7 @@ JNIEXPORT void JNICALL Java_com_omixlab_panopainter_MainActivity_pickExternalCal
|
||||
App::I->data_path = file_path;
|
||||
App::I->work_path = file_path;
|
||||
App::I->rec_path = file_path + "/frames";
|
||||
pp::platform::legacy::set_legacy_storage_paths({
|
||||
pp::platform::legacy::set_legacy_android_storage_paths({
|
||||
App::I->data_path,
|
||||
App::I->work_path,
|
||||
App::I->rec_path,
|
||||
@@ -716,7 +716,7 @@ static int engine_init_display(struct engine* engine) {
|
||||
if (App::I->data_path.empty() || App::I->data_path == ".")
|
||||
App::I->data_path = get_data_path();
|
||||
LOG("data_path %s", App::I->data_path.c_str());
|
||||
pp::platform::legacy::set_legacy_storage_paths({
|
||||
pp::platform::legacy::set_legacy_android_storage_paths({
|
||||
App::I->data_path,
|
||||
App::I->work_path.empty() ? App::I->data_path : App::I->work_path,
|
||||
App::I->rec_path,
|
||||
|
||||
Reference in New Issue
Block a user