From: Soren Stoutner
Date: Wed, 23 Apr 2025 23:31:36 +0000 (-0700)
Subject: Indicate which SIM cards are in use. https://redmine.stoutner.com/issues/1117
X-Git-Tag: v1.11~1
X-Git-Url: https://gitweb.stoutner.com/?a=commitdiff_plain;h=5602d79ab0723eb64800d7021c63df4bab73a9d2;p=PrivacyCell.git
Indicate which SIM cards are in use. https://redmine.stoutner.com/issues/1117
---
diff --git a/app/build.gradle b/app/build.gradle
index cda9f4f..3fcd6ef 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -64,12 +64,12 @@ android {
dependencies {
// Include the following AndroidX libraries.
implementation 'androidx.appcompat:appcompat:1.7.0'
- implementation 'androidx.core:core-ktx:1.15.0'
+ implementation 'androidx.core:core-ktx:1.16.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.7'
implementation 'androidx.preference:preference-ktx:1.2.1'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation 'androidx.webkit:webkit:1.13.0'
- implementation 'androidx.work:work-runtime-ktx:2.10.0'
+ implementation 'androidx.work:work-runtime-ktx:2.10.1'
// Include the Kotlin standard library. This should be the same version number listed in the project build.gradle.
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.0'
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 7a0c5ca..dbdc5dc 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -1,7 +1,7 @@
+
+
+
@@ -61,7 +64,8 @@
android:label="@string/cell"
android:launchMode="singleTask"
android:screenOrientation="fullUser"
- android:exported="true" >
+ android:exported="true"
+ tools:ignore="DiscouragedApi" >
@@ -74,21 +78,24 @@
android:name=".activities.SettingsActivity"
android:label="@string/settings"
android:parentActivityName=".activities.PrivacyCellActivity"
- android:screenOrientation="fullUser" />
+ android:screenOrientation="fullUser"
+ tools:ignore="DiscouragedApi" />
+ android:screenOrientation="fullUser"
+ tools:ignore="DiscouragedApi" />
+ android:screenOrientation="fullUser"
+ tools:ignore="DiscouragedApi" />
android.permission.READ_PHONE_STATE
Benötigt, um die vom Mobilfunk-Netzwerk genutzten Protokolle zu ermitteln.
+ Read phone numbers
+ android.permission.READ_PHONE_NUMBERS
+ Required to display the cell network name and phone number of the SIM card.
+
Zeige Benachrichtigungen
android.permission.POST_NOTIFICATIONS
Erlaubt Privacy Cell, ein Benachrichtigungs-Icon für die Echtzeit-Ãberwachung in der Status-Zeile anzuzeigen.
@@ -55,7 +59,8 @@
android.permission.RECEIVE_BOOT_COMPLETED
Erlaubt Privacy Cell die Echtzeit-Ãberwachung zu aktivieren, wenn das Smartphone gebootet wird.
-
- Automatisch hinzugefügt für alle Apps mit API >= 33 (Android 13), um zu verhindern, dass sich andere Apps ohne expliziter Erlaubnis mit dynamischen BroadcastReceivern verbinden.
+ Dynamic receiver not exported
+ com.stoutner.privacycell.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION
+ Automatisch hinzugefügt für alle Apps mit API >= 33 (Android >= 13), um zu verhindern, dass sich andere Apps ohne expliziter Erlaubnis mit dynamischen BroadcastReceivern verbinden.