]> gitweb.stoutner.com Git - PrivacyCell.git/blobdiff - app/src/main/AndroidManifest.xml
Add per-app language support. https://redmine.stoutner.com/issues/935
[PrivacyCell.git] / app / src / main / AndroidManifest.xml
index 3df75fd6d3e8d2fcca70b7bf9c1380bd41ae8e0c..528c4c3e33ab33d601143f3b87fe6d3365e480d6 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 
 <!--
-  Copyright © 2021-2022 Soren Stoutner <soren@stoutner.com>.
+  Copyright 2021-2022 Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Cell <https://www.stoutner.com/privacy-cell>.
 
     xmlns:tools="http://schemas.android.com/tools"
     android:installLocation="auto" >
 
-    <!-- Required to read cell network information. -->
+    <!-- Required to read cell network information.  <Dangerous permission> -->
     <uses-permission android:name="android.permission.READ_PHONE_STATE" />
 
-    <!-- Required to display a realtime notification icon. -->
+    <!-- Required to display a notification.  <Dangerous permission> -->
+    <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
+
+    <!-- Required to run a foreground service (which is the only type of service that can display notifications). -->
     <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
 
     <!-- Required to start the realtime notification icon at boot. -->
@@ -49,7 +52,8 @@
         android:fullBackupContent="false"
         android:supportsRtl="true"
         android:theme="@style/Theme.PrivacyCell"
-        tools:ignore="DataExtractionRules" >
+        android:localeConfig="@xml/locales_config"
+        tools:ignore="DataExtractionRules,UnusedAttribute" >
 
         <!-- Privacy Cell Activity.  The label uses the short name so that it isn't truncated under the icon in the launcher on most phones.
             `android:launchMode="singleTask"` makes the app launch in a new task instead of inside the task of the program that sends it an intent.
             </intent-filter>
         </receiver>
     </application>
-</manifest>
\ No newline at end of file
+</manifest>