aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-03-24 12:12:25 +0530
committerJason A. Donenfeld <Jason@zx2c4.com>2020-03-26 00:49:01 -0600
commit63a395125aa40ab9f30f3479d8e005306a16bd78 (patch)
tree81c21b7d379fb7894998c82a2de576f48ef79ff1 /ui/src/main/AndroidManifest.xml
parentstrings: update Russian translate (diff)
downloadwireguard-android-63a395125aa40ab9f30f3479d8e005306a16bd78.tar.xz
wireguard-android-63a395125aa40ab9f30f3479d8e005306a16bd78.zip
Introduce realtime log viewer
This contains a share button and a save button, the former using a custom content provider. Co-authored-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/src/main/AndroidManifest.xml')
-rw-r--r--ui/src/main/AndroidManifest.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/ui/src/main/AndroidManifest.xml b/ui/src/main/AndroidManifest.xml
index 11c1102b..74bc7a20 100644
--- a/ui/src/main/AndroidManifest.xml
+++ b/ui/src/main/AndroidManifest.xml
@@ -31,6 +31,7 @@
android:banner="@mipmap/banner">
<activity android:name=".activity.TunnelToggleActivity" android:theme="@style/NoBackgroundTheme"/>
+
<activity android:name=".activity.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@@ -58,6 +59,19 @@
android:screenOrientation="fullSensor"
tools:replace="screenOrientation" />
+ <activity android:name=".activity.LogViewerActivity"
+ android:label="@string/log_viewer_title">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN"/>
+ </intent-filter>
+ </activity>
+
+ <provider
+ android:name=".activity.LogViewerActivity$ExportedLogContentProvider"
+ android:authorities="${applicationId}.exported-log"
+ android:exported="false"
+ android:grantUriPermissions="true" />
+
<receiver android:name=".BootShutdownReceiver">
<intent-filter>
<action android:name="android.intent.action.ACTION_SHUTDOWN" />