wg-quick: android: change name of intent
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
2044bb026d
commit
8c4cf156d5
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ static void broadcast_change(void)
|
||||||
const char *pkg = getenv("CALLING_PACKAGE");
|
const char *pkg = getenv("CALLING_PACKAGE");
|
||||||
|
|
||||||
if (!pkg || strcmp(pkg, "com.wireguard.android"))
|
if (!pkg || strcmp(pkg, "com.wireguard.android"))
|
||||||
cmd("am broadcast -a com.wireguard.android.WGQUICK_CHANGE com.wireguard.android");
|
cmd("am broadcast -a com.wireguard.android.action.REFRESH_TUNNEL_STATES com.wireguard.android");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void print_search_paths(FILE *file, const char *prefix)
|
static void print_search_paths(FILE *file, const char *prefix)
|
||||||
|
|
Loading…
Reference in a new issue