On test tablet. There are two users:
/storage/emulated/0/AAA--onwer/storage/emulated/10/AAA--nomal user
My attempt:
adb shell "ls -l /storage/emulated/legacy/AAA"file dot exist. --failedadb shell "dumpsys activity | grep -E "mUserLru" | grep -Eo "[0-9]+\]$" | tr -d "]""find the current user_ide.g.: 10.
Splice string the pathstring.Format("/storage/emulated/{0}/AAA","10"). --succeed ,but it's too complicated.
I want to find a simple way.
like a common symlink or adb command,
When different users log in, can use the same method to access different root directory.Thanks.
root directory, the same simple way to access it. Now, it seems that there is no this way. – Longge Oct 18 '18 at 06:48