From 1c4d2777716081d13526648ee017bc44dc19d26a Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Fri, 7 Jun 2019 10:38:56 -0300 Subject: [PATCH] Don't route intents for MANAGE_NETWORK_USAGE settings This is because we require a special permission to launch this intent and we prefer requiring this permission to having the NavDrawerActivity added to the back stack. This commit also re-adds the deprecated USE_FINGERPRINT permission as Android Studio would show an error otherwise. --- briar-android/src/main/AndroidManifest.xml | 12 ++++++------ .../briar/android/activity/BriarActivity.java | 2 ++ .../briar/android/navdrawer/IntentRouter.java | 6 ------ 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/briar-android/src/main/AndroidManifest.xml b/briar-android/src/main/AndroidManifest.xml index e0dbc1a3d..0afef62b0 100644 --- a/briar-android/src/main/AndroidManifest.xml +++ b/briar-android/src/main/AndroidManifest.xml @@ -21,6 +21,8 @@ + + @@ -104,11 +106,6 @@ android:name="org.briarproject.briar.android.navdrawer.NavDrawerActivity" android:launchMode="singleTask" android:theme="@style/BriarTheme.NoActionBar"> - - - - - @@ -122,7 +119,6 @@ - + + + +