woocommerce-android icon indicating copy to clipboard operation
woocommerce-android copied to clipboard

Bump androidx-camera from 1.2.3 to 1.4.2

Open dependabot[bot] opened this issue 6 months ago • 4 comments

Bumps androidx-camera from 1.2.3 to 1.4.2. Updates androidx.camera:camera-camera2 from 1.2.3 to 1.4.2

Updates androidx.camera:camera-lifecycle from 1.2.3 to 1.4.2

Updates androidx.camera:camera-view from 1.2.3 to 1.4.2

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar Jun 10 '25 18:06 dependabot[bot]

Project manifest changes for WooCommerce

The following changes in the WooCommerce's merged AndroidManifest.xml file were detected (build variant: vanillaRelease):

--- ./build/reports/diff_manifest/WooCommerce/vanillaRelease/base_manifest.txt	2025-07-29 07:08:47.456582669 +0000
+++ ./build/reports/diff_manifest/WooCommerce/vanillaRelease/head_manifest.txt	2025-07-29 07:08:58.776660298 +0000
@@ -597,6 +597,18 @@
             android:name="com.google.android.gms.common.api.GoogleApiActivity"
             android:exported="false"
             android:theme="@android:style/Theme.Translucent.NoTitleBar" />
+        <!--
+        Service for holding metadata. Cannot be instantiated.
+        Metadata will be merged from other manifests.
+        -->
+        <service
+            android:name="androidx.camera.core.impl.MetadataHolderService"
+            android:enabled="false"
+            android:exported="false" >
+            <meta-data
+                android:name="androidx.camera.core.impl.MetadataHolderService.DEFAULT_CONFIG_PROVIDER"
+                android:value="androidx.camera.camera2.Camera2Config$DefaultProvider" />
+        </service>
 
         <provider
             android:name="zendesk.belvedere.BelvedereFileProvider"
@@ -704,16 +716,6 @@
         <activity
             android:name="androidx.compose.ui.tooling.PreviewActivity"
             android:exported="true" />
-
-        <service
-            android:name="androidx.camera.core.impl.MetadataHolderService"
-            android:enabled="false"
-            android:exported="false" >
-            <meta-data
-                android:name="androidx.camera.core.impl.MetadataHolderService.DEFAULT_CONFIG_PROVIDER"
-                android:value="androidx.camera.camera2.Camera2Config$DefaultProvider" />
-        </service>
-
         <activity
             android:name="com.stripe.stripeterminal.internal.common.usb.UsbEventReceiverActivity"
             android:excludeFromRecents="true"

Go to https://buildkite.com/automattic/woocommerce-android/builds/30917/canvas?sid=019854fe-d497-4aac-b321-890d62f886b6, click on the Artifacts tab and audit the files.

wpmobilebot avatar Jun 10 '25 18:06 wpmobilebot

Project dependencies changes

list
+ New Dependencies
androidx.camera:camera-video:1.4.2

! Upgraded Dependencies
androidx.camera:camera-camera2:1.4.2, (changed from 1.2.3)
androidx.camera:camera-core:1.4.2, (changed from 1.2.3)
androidx.camera:camera-lifecycle:1.4.2, (changed from 1.2.3)
androidx.camera:camera-view:1.4.2, (changed from 1.2.3)
tree
-+--- androidx.camera:camera-camera2:1.2.3
-|    +--- androidx.annotation:annotation:1.2.0 -> 1.9.1 (*)
-|    +--- androidx.camera:camera-core:1.2.3
-|    |    +--- androidx.annotation:annotation:1.2.0 -> 1.9.1 (*)
-|    |    +--- androidx.annotation:annotation-experimental:1.1.0 -> 1.4.1 (*)
-|    |    +--- androidx.concurrent:concurrent-futures:1.0.0 -> 1.1.0 (*)
-|    |    +--- androidx.core:core:1.1.0 -> 1.16.0 (*)
-|    |    +--- androidx.exifinterface:exifinterface:1.3.2 -> 1.3.7 (*)
-|    |    +--- androidx.lifecycle:lifecycle-common:2.1.0 -> 2.8.7 (*)
-|    |    +--- androidx.lifecycle:lifecycle-livedata:2.1.0 -> 2.8.7 (*)
-|    |    +--- com.google.auto.value:auto-value-annotations:1.6.3
-|    |    +--- com.google.guava:listenablefuture:1.0 -> 9999.0-empty-to-avoid-conflict-with-guava
-|    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.7.20 -> 2.1.21 (*)
-|    +--- androidx.concurrent:concurrent-futures:1.0.0 -> 1.1.0 (*)
-|    +--- androidx.core:core:1.1.0 -> 1.16.0 (*)
-|    +--- com.google.auto.value:auto-value-annotations:1.6.3
-|    \--- com.google.guava:listenablefuture:1.0 -> 9999.0-empty-to-avoid-conflict-with-guava
++--- androidx.camera:camera-camera2:1.4.2
+|    +--- androidx.annotation:annotation:1.2.0 -> 1.9.1 (*)
+|    +--- androidx.camera:camera-core:1.4.2
+|    |    +--- androidx.annotation:annotation:1.2.0 -> 1.9.1 (*)
+|    |    +--- androidx.annotation:annotation-experimental:1.4.1 (*)
+|    |    +--- androidx.concurrent:concurrent-futures:1.1.0 (*)
+|    |    +--- androidx.concurrent:concurrent-futures-ktx:1.1.0 (*)
+|    |    +--- androidx.core:core:1.1.0 -> 1.16.0 (*)
+|    |    +--- androidx.exifinterface:exifinterface:1.3.2 -> 1.3.7 (*)
+|    |    +--- androidx.lifecycle:lifecycle-common:2.1.0 -> 2.8.7 (*)
+|    |    +--- androidx.lifecycle:lifecycle-livedata:2.1.0 -> 2.8.7 (*)
+|    |    +--- androidx.tracing:tracing:1.2.0 (*)
+|    |    +--- com.google.auto.value:auto-value-annotations:1.6.3
+|    |    +--- com.google.guava:listenablefuture:1.0 -> 9999.0-empty-to-avoid-conflict-with-guava
+|    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.22 -> 2.1.21 (*)
+|    |    +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3 -> 1.10.2 (*)
+|    |    +--- androidx.camera:camera-camera2:1.4.2 (c)
+|    |    +--- androidx.camera:camera-lifecycle:1.4.2 (c)
+|    |    +--- androidx.camera:camera-video:1.4.2 (c)
+|    |    \--- androidx.camera:camera-view:1.4.2 (c)
+|    +--- androidx.concurrent:concurrent-futures:1.0.0 -> 1.1.0 (*)
+|    +--- androidx.core:core:1.1.0 -> 1.16.0 (*)
+|    +--- androidx.tracing:tracing:1.2.0 (*)
+|    +--- com.google.auto.value:auto-value-annotations:1.6.3
+|    +--- com.google.guava:listenablefuture:1.0 -> 9999.0-empty-to-avoid-conflict-with-guava
+|    +--- androidx.camera:camera-core:1.4.2 (c)
+|    +--- androidx.camera:camera-lifecycle:1.4.2 (c)
+|    +--- androidx.camera:camera-view:1.4.2 (c)
+|    \--- androidx.camera:camera-video:1.4.2 (c)
-+--- androidx.camera:camera-lifecycle:1.2.3
-|    +--- androidx.camera:camera-core:1.2.3 (*)
-|    +--- androidx.concurrent:concurrent-futures:1.0.0 -> 1.1.0 (*)
-|    +--- androidx.core:core:1.1.0 -> 1.16.0 (*)
-|    +--- androidx.lifecycle:lifecycle-common:2.1.0 -> 2.8.7 (*)
-|    +--- com.google.auto.value:auto-value-annotations:1.6.3
-|    \--- com.google.guava:listenablefuture:1.0 -> 9999.0-empty-to-avoid-conflict-with-guava
++--- androidx.camera:camera-lifecycle:1.4.2
+|    +--- androidx.camera:camera-core:1.4.2 (*)
+|    +--- androidx.concurrent:concurrent-futures:1.1.0 (*)
+|    +--- androidx.concurrent:concurrent-futures-ktx:1.1.0 (*)
+|    +--- androidx.core:core:1.1.0 -> 1.16.0 (*)
+|    +--- androidx.lifecycle:lifecycle-common:2.1.0 -> 2.8.7 (*)
+|    +--- androidx.tracing:tracing-ktx:1.2.0 (*)
+|    +--- com.google.auto.value:auto-value-annotations:1.6.3
+|    +--- com.google.guava:listenablefuture:1.0 -> 9999.0-empty-to-avoid-conflict-with-guava
+|    +--- org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3 -> 1.10.2 (*)
+|    +--- androidx.camera:camera-camera2:1.4.2 (c)
+|    +--- androidx.camera:camera-core:1.4.2 (c)
+|    +--- androidx.camera:camera-view:1.4.2 (c)
+|    \--- androidx.camera:camera-video:1.4.2 (c)
-\--- androidx.camera:camera-view:1.2.3
-     +--- androidx.annotation:annotation:1.2.0 -> 1.9.1 (*)
-     +--- androidx.annotation:annotation-experimental:1.1.0 -> 1.4.1 (*)
-     +--- androidx.appcompat:appcompat:1.1.0 -> 1.7.1 (*)
-     +--- androidx.camera:camera-core:1.2.3 (*)
-     +--- androidx.camera:camera-lifecycle:1.2.3 (*)
-     +--- androidx.concurrent:concurrent-futures:1.0.0 -> 1.1.0 (*)
-     +--- androidx.core:core:1.3.2 -> 1.16.0 (*)
-     +--- androidx.lifecycle:lifecycle-common:2.0.0 -> 2.8.7 (*)
-     +--- com.google.auto.value:auto-value-annotations:1.6.3
-     \--- com.google.guava:listenablefuture:1.0 -> 9999.0-empty-to-avoid-conflict-with-guava
+\--- androidx.camera:camera-view:1.4.2
+     +--- androidx.annotation:annotation:1.2.0 -> 1.9.1 (*)
+     +--- androidx.annotation:annotation-experimental:1.4.1 (*)
+     +--- androidx.appcompat:appcompat:1.1.0 -> 1.7.1 (*)
+     +--- androidx.camera:camera-core:1.4.2 (*)
+     +--- androidx.camera:camera-lifecycle:1.4.2 (*)
+     +--- androidx.camera:camera-video:1.4.2
+     |    +--- androidx.annotation:annotation:1.2.0 -> 1.9.1 (*)
+     |    +--- androidx.camera:camera-core:1.4.2 (*)
+     |    +--- androidx.concurrent:concurrent-futures:1.0.0 -> 1.1.0 (*)
+     |    +--- androidx.core:core:1.1.0 -> 1.16.0 (*)
+     |    +--- com.google.auto.value:auto-value-annotations:1.6.3
+     |    +--- androidx.camera:camera-camera2:1.4.2 (c)
+     |    +--- androidx.camera:camera-core:1.4.2 (c)
+     |    +--- androidx.camera:camera-lifecycle:1.4.2 (c)
+     |    \--- androidx.camera:camera-view:1.4.2 (c)
+     +--- androidx.concurrent:concurrent-futures:1.0.0 -> 1.1.0 (*)
+     +--- androidx.core:core:1.3.2 -> 1.16.0 (*)
+     +--- androidx.lifecycle:lifecycle-common:2.0.0 -> 2.8.7 (*)
+     +--- com.google.auto.value:auto-value-annotations:1.6.3
+     +--- com.google.guava:listenablefuture:1.0 -> 9999.0-empty-to-avoid-conflict-with-guava
+     +--- androidx.camera:camera-camera2:1.4.2 (c)
+     +--- androidx.camera:camera-core:1.4.2 (c)
+     +--- androidx.camera:camera-lifecycle:1.4.2 (c)
+     \--- androidx.camera:camera-video:1.4.2 (c)

wpmobilebot avatar Jun 10 '25 18:06 wpmobilebot

📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
App Name WooCommerce-Wear Android
Platform⌚️ Wear OS
FlavorJalapeno
Build TypeDebug
Commite98aed8758860f9c7163e36f512e39c7e0888131
Direct Downloadwoocommerce-wear-prototype-build-pr14169-e98aed8.apk

wpmobilebot avatar Jun 10 '25 18:06 wpmobilebot

@dependabot rebase

JorgeMucientes avatar Jul 14 '25 17:07 JorgeMucientes

@hichamboushaba, pinging you on this PR as part of our new focus on the dependency maintenance process.

irfano avatar Jul 21 '25 10:07 irfano

@kidinov @samiuelson can I request the review of one of you here? The update deprecated setTargetResolution, and I replaced it with the function setResolutionSelector, and I would love your confirmation that this is the correct change.

hichamboushaba avatar Jul 29 '25 07:07 hichamboushaba

📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.

App Name WooCommerce Android
Platform📱 Mobile
FlavorJalapeno
Build TypeDebug
Commite98aed8758860f9c7163e36f512e39c7e0888131
Direct Downloadwoocommerce-prototype-build-pr14169-e98aed8.apk

wpmobilebot avatar Jul 29 '25 07:07 wpmobilebot

Codecov Report

:x: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 37.71%. Comparing base (6cdfb85) to head (e98aed8). :warning: Report is 462 commits behind head on trunk.

Files with missing lines Patch % Lines
...mmerce/android/ui/barcodescanner/BarcodeScanner.kt 0.00% 8 Missing :warning:
Additional details and impacted files
@@            Coverage Diff            @@
##              trunk   #14169   +/-   ##
=========================================
  Coverage     37.71%   37.71%           
  Complexity     9096     9096           
=========================================
  Files          1984     1984           
  Lines        111459   111462    +3     
  Branches      14688    14688           
=========================================
+ Hits          42039    42041    +2     
- Misses        65563    65564    +1     
  Partials       3857     3857           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Jul 29 '25 07:07 codecov-commenter