[tbb-commits] [Git][tpo/applications/fenix][tor-browser-102.2.1-11.5-1] For #21102: Build with SDK for Android 12 / API 31 (#25494)

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Tue Nov 22 18:10:14 UTC 2022



Pier Angelo Vendrame pushed to branch tor-browser-102.2.1-11.5-1 at The Tor Project / Applications / fenix


Commits:
64af5eb8 by Arturo Mejia at 2022-11-22T18:10:43+01:00
For #21102: Build with SDK for Android 12 / API 31 (#25494)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- - - - -


3 changed files:

- app/src/main/AndroidManifest.xml
- app/src/nightly/AndroidManifest.xml
- buildSrc/src/main/java/Config.kt


Changes:

=====================================
app/src/main/AndroidManifest.xml
=====================================
@@ -44,6 +44,7 @@
         -->
         <activity-alias
             android:name="${applicationId}.App"
+            android:exported="true"
             android:targetActivity=".HomeActivity">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
@@ -68,6 +69,7 @@
         <!-- Activity alias from Fennec used by PWA launchers on the home screen -->
         <activity-alias
             android:name="org.mozilla.gecko.LauncherActivity"
+            android:exported="true"
             android:targetActivity=".IntentReceiverActivity">
             <intent-filter>
                 <action android:name="org.mozilla.gecko.WEBAPP" />
@@ -76,6 +78,7 @@
 
         <activity
             android:name=".HomeActivity"
+            android:exported="true"
             android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize|layoutDirection|smallestScreenSize|screenLayout"
             android:launchMode="singleTask"
             android:resizeableActivity="true"
@@ -265,6 +268,7 @@
 
         <service
             android:name=".autofill.AutofillService"
+            android:exported="true"
             android:label="@string/app_name"
             android:permission="android.permission.BIND_AUTOFILL_SERVICE">
             <intent-filter>
@@ -288,9 +292,13 @@
             </intent-filter>
         </service>
 
-        <service android:name=".downloads.DownloadService" />
+        <service
+            android:name=".downloads.DownloadService"
+            android:exported="false" />
+
         <receiver
-            android:name="org.mozilla.gecko.search.SearchWidgetProvider">
+            android:name="org.mozilla.gecko.search.SearchWidgetProvider"
+            android:exported="true">
             <intent-filter>
                 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
             </intent-filter>


=====================================
app/src/nightly/AndroidManifest.xml
=====================================
@@ -4,8 +4,10 @@
 
     <application>
 
-        <service android:name=".customtabs.CustomTabsService">
-            <!-- Trusted Web Activities are currently only supported in nightly. -->
+        <service
+            android:name=".customtabs.CustomTabsService"
+            android:exported="true">
+        <!-- Trusted Web Activities are currently only supported in nightly. -->
             <intent-filter tools:node="removeAll" />
             <intent-filter>
                 <action android:name="android.support.customtabs.action.CustomTabsService" />


=====================================
buildSrc/src/main/java/Config.kt
=====================================
@@ -13,7 +13,7 @@ object Config {
     // Synchronized build configuration for all modules
     const val compileSdkVersion = 31
     const val minSdkVersion = 21
-    const val targetSdkVersion = 30
+    const val targetSdkVersion = 31
 
     @JvmStatic
     private fun generateDebugVersionName(): String {



View it on GitLab: https://gitlab.torproject.org/tpo/applications/fenix/-/commit/64af5eb878b8c78ba90a731c4b28011c62cd5895

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/fenix/-/commit/64af5eb878b8c78ba90a731c4b28011c62cd5895
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20221122/8a955685/attachment-0001.htm>


More information about the tbb-commits mailing list