The command you run with adb shell
gets executed with shell(UID=2000)
user privileges. The command you run from your java
code gets executed with your app’s UID
privileges. Thus the difference.
The command you run with adb shell
gets executed with shell(UID=2000)
user privileges. The command you run from your java
code gets executed with your app’s UID
privileges. Thus the difference.