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:
b27031e
)
Don't use "am --user" unless multiuser mode is enabled (bug #204)
author
Kevin Cernekee
<cernekee@gmail.com>
Sat, 23 Nov 2013 23:46:06 +0000
(15:46 -0800)
committer
Kevin Cernekee
<cernekee@gmail.com>
Sat, 23 Nov 2013 23:46:06 +0000
(15:46 -0800)
Superuser/jni/su/activity.c
patch
|
blob
|
history
diff --git
a/Superuser/jni/su/activity.c
b/Superuser/jni/su/activity.c
index
eb18759
..
5e7163f
100644
(file)
--- a/
Superuser/jni/su/activity.c
+++ b/
Superuser/jni/su/activity.c
@@
-152,7
+152,7
@@
int send_result(struct su_context *ctx, policy_t policy) {
"--es",
"action",
policy == ALLOW ? "allow" : "deny",
-
"--user"
,
+
user[0] ? "--user" : NULL
,
user,
NULL
};
@@
-199,7
+199,7
@@
int send_request(struct su_context *ctx) {
"--es",
"socket",
ctx->sock_path,
-
"--user"
,
+
user[0] ? "--user" : NULL
,
user,
NULL
};