]> gitweb.stoutner.com Git - PrivacyCell.git/blobdiff - app/src/main/AndroidManifest.xml
Release 1.6.
[PrivacyCell.git] / app / src / main / AndroidManifest.xml
index 4400b2cac5c197a51eeda5354d1b95a84ede72bc..be16e6e968a14e6dd91a21fa6fcbad0d39439e9e 100644 (file)
@@ -21,6 +21,7 @@
 <!-- Install location `auto` allows users to move Privacy Cell to an SD card if desired. -->
 <manifest
     xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:tools="http://schemas.android.com/tools"
     package="com.stoutner.privacycell"
     android:installLocation="auto" >
 
     <!-- Required to start the realtime notification icon at boot. -->
     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
 
+    <!-- Disabled the unneeded permissions that are automatically added by `androidx.work`.  <https://developer.android.com/reference/androidx/work/package-summary> -->
+    <uses-permission android:name="android.permission.WAKE_LOCK" tools:node="remove" />
+    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" tools:node="remove" />
+
     <!-- Support Chromebooks that don't have a touch screen. -->
     <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
 
             </intent-filter>
         </activity>
 
-        <!-- Settings Activity.  The `parentActivityName` is used when restarting Privacy Cell.-->
+        <!-- Settings Activity.  The `parentActivityName` is used when restarting Privacy Cell and when navigating back. -->
         <activity
             android:name=".activities.SettingsActivity"
             android:label="@string/settings"
             android:screenOrientation="fullUser"
             android:parentActivityName=".activities.PrivacyCellActivity" />
 
+        <!-- Logcat Activity. The `parentActivityName` is used when navigating back. -->
+        <activity
+            android:name=".activities.LogcatActivity"
+            android:label="@string/logcat"
+            android:parentActivityName=".activities.PrivacyCellActivity"
+            android:screenOrientation="fullUser" />
+
         <!-- Realtime Monitoring Service. -->
         <service android:name=".services.RealtimeMonitoringService" />