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

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Wed Nov 23 13:01:50 UTC 2022



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


Commits:
8b67442c by Arturo Mejia at 2022-11-23T14:01:34+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/8b67442c2b71728e5278b8946843e3b72da09456

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/fenix/-/commit/8b67442c2b71728e5278b8946843e3b72da09456
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/20221123/de9c23cc/attachment-0001.htm>


More information about the tbb-commits mailing list