Commit 1eb7d7b7 authored by vvb2060's avatar vvb2060 Committed by John Wu

Add FLAG_INCLUDE_STOPPED_PACKAGES for broadcast

parent 11c33d44
...@@ -75,6 +75,7 @@ void app_log(struct su_context *ctx) { ...@@ -75,6 +75,7 @@ void app_log(struct su_context *ctx) {
AM_PATH, "broadcast", AM_PATH, "broadcast",
"-a", "android.intent.action.BOOT_COMPLETED", "-a", "android.intent.action.BOOT_COMPLETED",
"-p", DB_STR(ctx->info, SU_MANAGER), "-p", DB_STR(ctx->info, SU_MANAGER),
"-f", "0x00000020",
"--user", user, "--user", user,
"--es", "action", "log", "--es", "action", "log",
"--ei", "from.uid", fromUid, "--ei", "from.uid", fromUid,
...@@ -104,6 +105,7 @@ void app_notify(struct su_context *ctx) { ...@@ -104,6 +105,7 @@ void app_notify(struct su_context *ctx) {
AM_PATH, "broadcast", AM_PATH, "broadcast",
"-a", "android.intent.action.BOOT_COMPLETED", "-a", "android.intent.action.BOOT_COMPLETED",
"-p", DB_STR(ctx->info, SU_MANAGER), "-p", DB_STR(ctx->info, SU_MANAGER),
"-f", "0x00000020",
"--user", user, "--user", user,
"--es", "action", "notify", "--es", "action", "notify",
"--ei", "from.uid", fromUid, "--ei", "from.uid", fromUid,
...@@ -120,6 +122,7 @@ void app_connect(const char *socket, struct su_info *info) { ...@@ -120,6 +122,7 @@ void app_connect(const char *socket, struct su_info *info) {
AM_PATH, "broadcast", AM_PATH, "broadcast",
"-a", "android.intent.action.BOOT_COMPLETED", "-a", "android.intent.action.BOOT_COMPLETED",
"-p", DB_STR(info, SU_MANAGER), "-p", DB_STR(info, SU_MANAGER),
"-f", "0x00000020",
"--user", user, "--user", user,
"--es", "action", "request", "--es", "action", "request",
"--es", "socket", (char *) socket, "--es", "socket", (char *) socket,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment