OSDN Git Service
(root)
/
android-x86
/
external-koush-Superuser.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95b77e3
)
Update activity.c
author
h1618
<h1618@online.de>
Thu, 28 Nov 2013 22:42:52 +0000
(23:42 +0100)
committer
h1618
<h1618@online.de>
Thu, 28 Nov 2013 22:42:52 +0000
(23:42 +0100)
another am invocation with unconditional --user (the last one on line 185 needs no condition as it is only called in multiuser mode)
Superuser/jni/su/activity.c
patch
|
blob
|
history
diff --git
a/Superuser/jni/su/activity.c
b/Superuser/jni/su/activity.c
index
5e7163f
..
c476a47
100644
(file)
--- a/
Superuser/jni/su/activity.c
+++ b/
Superuser/jni/su/activity.c
@@
-118,7
+118,7
@@
int send_result(struct su_context *ctx, policy_t policy) {
"--es",
"action",
policy == ALLOW ? "allow" : "deny",
-
"--user"
,
+
user[0] ? "--user" : NULL
,
android_user_id,
NULL
};