diff options
author | Eric Kuck <eric@bluelinelabs.com> | 2018-07-07 12:04:34 -0500 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-07-08 03:26:42 +0200 |
commit | c696e9f2755e236afffffd1135e01c51cc25682b (patch) | |
tree | c8f5f5cf579b04bf5efa21cfac3dc34a4f273b7c /app/src | |
parent | 707c8c19a8e8f67e8dee366487b3343387ed5ac9 (diff) |
Build with different name and ID in debug mode
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/debug/res/values/strings.xml | 4 | ||||
-rw-r--r-- | app/src/main/AndroidManifest.xml | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/app/src/debug/res/values/strings.xml b/app/src/debug/res/values/strings.xml new file mode 100644 index 00000000..60e016ea --- /dev/null +++ b/app/src/debug/res/values/strings.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <string name="app_name">WireGuard β</string> +</resources> diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 13c5a223..e422c566 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -9,7 +9,7 @@ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <permission - android:name="com.wireguard.android.permission.CONTROL_TUNNELS" + android:name="${applicationId}.permission.CONTROL_TUNNELS" android:protectionLevel="dangerous" android:icon="@mipmap/ic_launcher" android:label="@string/permission_label" @@ -59,7 +59,7 @@ <receiver android:name=".model.TunnelManager$IntentReceiver" - android:permission="com.wireguard.android.permission.CONTROL_TUNNELS"> + android:permission="${applicationId}.permission.CONTROL_TUNNELS"> <intent-filter> <action android:name="com.wireguard.android.action.REFRESH_TUNNEL_STATES" /> <action android:name="com.wireguard.android.action.SET_TUNNEL_UP" /> |