ActivityStarter mediatek file manager

I am trying to reach this result:
on button click, mediatek FileManager is opened, when folder of file selected it should display a path of selected object.
Actually, I am to implement something like ‘Save as’ with a possibility to select a folder.
So I found this documentation on FileManager:
https://www.hybrid-analysis.com/sample/7d34aaf5262800ed519b134ce7c144d9f32b352759952b7bfaa2b6d7fae3cd59?environmentId=200

File Activities:
com.mediatek.filemanager.FileManagerOperationActivity
com.mediatek.filemanager.FileManagerSearchActivity
com.mediatek.filemanager.FileManagerSelectPathActivity
com.mediatek.filemanager.FileManagerSelectFileActivity

From dumpsys command I see package name is com.mediatek.filemanager
So if I use Action android.intent.action.GET_CONTENT
and activity com.mediatek.filemanager.FileManagerSelectFileActivity everything works fine and ResultURI return a full file path.
But I need a bit different result, I need path only.
So I guessed com.mediatek.filemanager.FileManagerSelectPathActivity would be helpful.
But I cannot make it work. When I use it, I cannot make any selections, button ‘OK’ does nothing and after clicking on it I receive nothing in Result URI.
Any idea how com.mediatek.filemanager.FileManagerSelectPathActivity can be used to return a result of selection?
I also tried actions action: android.intent.action.PICK and action: android.intent.action.VIEW with no result…
Here I found a code fragment - can it give any insight ?

https://blog.csdn.net/zhangyong7112/article/details/77709605

Intent intent = new Intent();
ComponentName comp = new ComponentName(“com.mediatek.filemanager”
, “com.mediatek.filemanager.FileManagerSelectPathActivity”);
intent.setComponent(comp);
intent.setAction(“android.intent.action.VIEW”);
intent.putExtra(“download path”, Environment.getExternalStorageDirectory().getAbsolutePath());
startActivityForResult(intent, 1001);

protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (resultCode == Activity.RESULT_OK && requestCode == 1001) {
String downloadPath = data.getStringExtra(“download path”);
}
}

Why not just remove the “filename” part from your ResultURI when it is returned?

And what if there is no files in a folder?
com.mediatek.filemanager.FileManagerSelectFileActivity only returns selected file path, I want to get just a folder path also