Status Update
Comments
ap...@google.com <ap...@google.com> #2
This is a particularly hard device to come by - do you happen to have access to the device? If so could you provide us with the output of: adb shell dumpsys media.camera > info.txt
Thanks!
ap...@google.com <ap...@google.com> #3
Stacktrace:
Caused by: java.lang.IllegalArgumentException: Can not get supported output size under supported maximum for the format: 34
at androidx.camera.camera2.internal.SupportedSurfaceCombination.getSupportedOutputSizes(SupportedSurfaceCombination.java:355)
at androidx.camera.camera2.internal.SupportedSurfaceCombination.getSuggestedResolutions(SupportedSurfaceCombination.java:197)
at androidx.camera.camera2.internal.Camera2DeviceSurfaceManager.getSuggestedResolutions(Camera2DeviceSurfaceManager.java:198)
at androidx.camera.core.CameraX.calculateSuggestedResolutions(CameraX.java:943)
at androidx.camera.core.CameraX.bindToLifecycle(CameraX.java:293)
at androidx.camera.lifecycle.ProcessCameraProvider.bindToLifecycle(ProcessCameraProvider.java:227)
Below are some findings based on our debugging
When Dex is connected
previewConfig.getMaxResolution() is returning "731x411" as maxSize.
Inside Preview.Builder.build() -> Default_MAX_resolution is set to "CameraX.getSurfaceManager().getPreviewSize()" which is 731x411
this is being picked as maxSize.
While rendering maxSize is 731x411 and minSize is 640x480 and below are available outputSizes
0 = {Size@11860} "4032x3024"
1 = {Size@11861} "3984x2988"
2 = {Size@11862} "4032x2268"
3 = {Size@11863} "3024x3024"
4 = {Size@11864} "2976x2976"
5 = {Size@11865} "3840x2160"
6 = {Size@11866} "3264x2448"
7 = {Size@11867} "4032x1960"
8 = {Size@11868} "2880x2160"
9 = {Size@11869} "3264x1836"
10 = {Size@11870} "2160x2160"
11 = {Size@11871} "2560x1440"
12 = {Size@11872} "2224x1080"
13 = {Size@11873} "2048x1152"
14 = {Size@11874} "1920x1080"
15 = {Size@11875} "1440x1080"
16 = {Size@11876} "1088x1088"
17 = {Size@11877} "1280x720"
18 = {Size@11878} "1024x768"
19 = {Size@11879} "1056x704"
20 = {Size@11880} "960x720"
21 = {Size@11881} "960x540"
22 = {Size@11882} "720x720"
23 = {Size@11883} "800x450"
24 = {Size@11884} "720x480"
25 = {Size@11885} "640x480"
26 = {Size@11886} "352x288"
27 = {Size@11887} "320x240"
28 = {Size@11888} "256x144"
29 = {Size@11889} "176x144"
and couldn't find any size in this range.
When Dex not connected
minsize = 640x480
maxsize = 1920x1080
0 = {Size@11836} "4032x3024"
1 = {Size@11837} "3984x2988"
2 = {Size@11838} "4032x2268"
3 = {Size@11839} "3024x3024"
4 = {Size@11840} "2976x2976"
5 = {Size@11841} "3840x2160"
6 = {Size@11842} "3264x2448"
7 = {Size@11843} "4032x1960"
8 = {Size@11844} "2880x2160"
9 = {Size@11845} "3264x1836"
10 = {Size@11846} "2160x2160"
11 = {Size@11847} "2560x1440"
12 = {Size@11848} "2224x1080"
13 = {Size@11849} "2048x1152"
14 = {Size@11850} "1920x1080"
15 = {Size@11851} "1440x1080"
16 = {Size@11852} "1088x1088"
17 = {Size@11853} "1280x720"
18 = {Size@11854} "1024x768"
19 = {Size@11855} "1056x704"
20 = {Size@11856} "960x720"
21 = {Size@11857} "960x540"
22 = {Size@11858} "720x720"
23 = {Size@11859} "800x450"
24 = {Size@11860} "720x480"
25 = {Size@11861} "640x480"
26 = {Size@11862} "352x288"
27 = {Size@11863} "320x240"
28 = {Size@11864} "256x144"
29 = {Size@11865} "176x144"
and we have 12 available sizes in this range
Camera2DeviceSurfaceManager.java:: getPreviewSize()
mCameraSupportedSurfaceCombinationMap.get(cameraId).getSurfaceDefinition().getPreviewSize() = "1920x1080"
cameraId=0
ap...@google.com <ap...@google.com> #4
The issue root cause is that CameraX will default filter out sizes smaller than 640x480. For Preview, the max size will be limited to under display size. I checked the HW spec info for the issue related devices. Display size of FUJITSU F-04J/F-05J is 360x640. That will result int that no size exists in the conditions that is larger or equal to 640x480 and smaller or equal to 360x640.
A temporary workaround for this situation is to use Preview.Builder#setTargetResolution() to set a size smaller than 640x480 to bypass the problem.
For device FUJITSU arrowsM04, I checked its HW spec info and its display size I found is 1280x720. It seems that the problem should not exist in the device.
Could you confirm that the problem exist on arrowsM04 device? What will be the returned value when using Display#getRealSize to obtain the display size?
ap...@google.com <ap...@google.com> #5
> A temporary workaround for this situation is to use Preview.Builder#setTargetResolution() to set a size smaller than 640x480 to bypass the problem.
OK. I will try it.
> Could you confirm that the problem exist on arrowsM04 device?
We receive the crash report (Crashlytics) that this crash has occurred on arrowsM04.
We don't have this device so we can't confirm that the problem really exist on arrowsM04.
> What will be the returned value when using Display#getRealSize to obtain the display size?
We can't investigate it for the same reason.
Thank you.
ap...@google.com <ap...@google.com> #6
This issue happened on devices that the display size is smaller than 640x480. In original auto-resolution mechanism, supported sizes smaller than 640x480 will be default filter out.
The auto-resolution mechanism encodes the guaranteed configurations tables in CameraDevice#createCaptureSession(SessionConfiguration). It defines that the PREVIEW size is the small one of the device display size and 1080p. The PREVIEW size will be the maximal size limitation for Preview use case. The reason it limits the size to display size and 1080p is the stream output in display size or 1080p has been able to provide good enough preview quality. Therefore, auto-resolution mechanism will limit the selected size to be smaller than the small one of the device display size and 1080p.
With above two conditions, in this issue, all sizes smaller than 640x480 have been filter out, therefore, there is no size smaller than the display size 320x240 can be selected to use. And cause the exception.
Solution:
When the display size is smaller than 640x480, auto-resolution mechanism won't filter out those small sizes smaller than 640x480. This makes those small size be left and can be selected for the Preview use case on small display devices.
The solution has been merged and will be included in next CameraX release.
ap...@google.com <ap...@google.com> #7
Hello.
This crash still occurs.
- CAMERAX VERSION: 1.0.0-beta4
- ANDROID OS BUILD NUMBER: Android 7.1.1
- DEVICE NAME: FUJITSU F-02H
We receive following crash report from FUJITSU F-02H. So far We have received this crash report only from F-02H.
java.lang.IllegalArgumentException
Can not get supported output size under supported maximum for the format: 34
androidx.camera.camera2.internal.SupportedSurfaceCombination.getSupportedOutputSizes (SupportedSurfaceCombination.java:349)
androidx.camera.camera2.internal.SupportedSurfaceCombination.getSuggestedResolutions (SupportedSurfaceCombination.java:197)
androidx.camera.camera2.internal.Camera2DeviceSurfaceManager.getSuggestedResolutions (Camera2DeviceSurfaceManager.java:198)
androidx.camera.core.CameraX.calculateSuggestedResolutions (CameraX.java:949)
androidx.camera.core.CameraX.bindToLifecycle (CameraX.java:351)
androidx.camera.lifecycle.ProcessCameraProvider.bindToLifecycle (ProcessCameraProvider.java:230)
(our application's package name).CameraFragment.bindCameraUseCases (CameraFragment.java:174)
ap...@google.com <ap...@google.com> #8
Could you help to provide the following information to clarify the issue?
1. Is the full name of the device Fujitsu Arrows NX F-02H that has a 1440x2560 display?
2. Please help to provide the supported output sizes of ImageFormat.PRIVATE that is obtained by StreamConfigurationMap#getOutputSizes(int).
ap...@google.com <ap...@google.com> #9
- Is the full name of the device Fujitsu Arrows NX F-02H that has a 1440x2560 display?
Yes
- Please help to provide the supported output sizes of ImageFormat.PRIVATE that is obtained by StreamConfigurationMap#getOutputSizes(int).
Since we don't have this device, we'll try to collect this information in the next version of our app. The next version will be released later this month.
ap...@google.com <ap...@google.com> #10
Hello.
- Please help to provide the supported output sizes of ImageFormat.PRIVATE that is obtained by StreamConfigurationMap#getOutputSizes(int).
We have collected the output of the device where the crash occurs.
Device1
- Model : arrows Be F-05J
- Android Version : 7.1.1
- Supported output sizes of ImageFormat.PRIVATE
CameraId 0: 480x480
CameraId 1: 2048x1536 ,1920x1080 ,1280x720 ,960x720 ,640x480 ,320x240 ,176x144
Device2
- Model : Fujitsu arrows M04
- Android Version : 7.1.1
- Supported output sizes of ImageFormat.PRIVATE
CameraId 0: 480x480
CameraId 1: 2048x1536 ,1920x1080 ,1280x720 ,960x720 ,640x480 ,320x240 ,176x144
Additional Information
CameraX version : 1.0.0-beta04
We collect the supported output sizes by following code.
val errorString = buildString {
append("The supported output sizes of ImageFormat.PRIVATE: ")
(requireContext().getSystemService(Context.CAMERA_SERVICE) as CameraManager).apply {
cameraIdList.forEachIndexed { index, cameraId ->
val msg = if (VERSION.SDK_INT >= VERSION_CODES.M) {
val configurationMap =
getCameraCharacteristics(cameraId).get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP)
val sizes = configurationMap?.getOutputSizes(ImageFormat.PRIVATE)
"CameraId $index: ${sizes?.joinToString(" ,")}"
} else {
"CameraId $index: This device version is under M."
}
append(msg)
}
}
}
ap...@google.com <ap...@google.com> #11
ap...@google.com <ap...@google.com> #12
I tried to find the device specs and both 720x1280
size display. For the camera id 0 device, it is a different case that the display size is larger than 640x480
but the device only supports a 480x480
size. The case also caused the same IllegalArgumentException and was also fixed by 1.0.0-beta04
release. Before 480x480
size would be filtered out and then caused the IllegalArgumentException. After it was merged, the 640x480
size threshold was removed and then the 480x480
size would be kept and selected to use.
It looks like 1.0.0-beta04
release had been used to collect the supported sizes information. But the issue should have been fixed by 1.0.0-beta04
release. Did you only check the device model name to collect the supported sizes information or collect the information when the IllegalArgumentException issue happens again?
CameraX's 1.0.0-beta04
version. Maybe you can also consider to upgrade to the latest 1.0.0-rc01
version for your application. Thanks.
ap...@google.com <ap...@google.com> #13
Did you only check the device model name to collect the supported sizes information or collect the information when the IllegalArgumentException issue happens again?
We collect informations only from the device on which IllegalArgumentException happened.
Our latest app uses CameraX version 1.0.0-beta10
and this issue still occurres.
However we don't receive crash report from Fujitsu arrows Be F-05J
or Fujitsu arrows M04
so far. (This doesn't mean this issue is fixed on these devices because our app is heavily rely on camera so these device's user wouldn't use our app anymore.)
Instead, we receive crash report from
- Model : Fujitsu F-03K
- Android Version : 7.1.2
- Supported output sizes of ImageFormat.PRIVATE
CameraId 0 : 480x480
CameraId 1 : 2048x1536 ,1920x1080 ,1280x720 ,960x720 ,640x480 ,320x240 ,176x144
ap...@google.com <ap...@google.com> #14
I missed some settings when I simulated the issue by robolectric test so that I was not able to reproduce it. Now, I can reproduce the issue if the device only supports one 480x480 resolution. I'm working on the solution and target to make it included in next release.
ap...@google.com <ap...@google.com> #15
Branch: androidx-main
commit 69d15dff7bb857ee33a0f643ff42a0f8bc475ab2
Author: charcoalchen <charcoalchen@google.com>
Date: Fri Jan 08 18:30:03 2021
Fixed IllegalArgumentException issue happened when all preview supported sizes are smaller than 640x480 and display size is larger than 640x480.
Do not filter out sizes smaller than 640x480 when all preview supported sizes are smaller than 640x480 and display size is larger than 640x480.
Relnote:"Fixed IllegalArgumentException issue happened when all preview supported sizes are smaller than 640x480 and display size is larger than 640x480."
Bug: 150506192
Test: SupportedSurfaceCombinationTest
Change-Id: I2a63ce8e2ad42a9cc060c8635ac3603bf440b1ec
M camera/camera-camera2/src/main/java/androidx/camera/camera2/internal/SupportedSurfaceCombination.java
M camera/camera-camera2/src/test/java/androidx/camera/camera2/internal/SupportedSurfaceCombinationTest.java
ap...@google.com <ap...@google.com> #16
ap...@google.com <ap...@google.com> #17
Branch: androidx-main
commit 5f7696d770c157aa50966b15cf0aa8abc1645cb6
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Wed Dec 08 19:09:23 2021
Rename top-level *.java to *.kt in androidx.work.impl.constraints.trackers
bug: 209145335
Test: NA
Change-Id: I4eb47369a0eab03ea248fcd143c037f8e8bf973d
M work/work-runtime/src/main/java/androidx/work/impl/constraints/trackers/StorageNotLowTracker.kt
M work/work-runtime/src/main/java/androidx/work/impl/constraints/trackers/ConstraintTracker.kt
M work/work-runtime/src/main/java/androidx/work/impl/constraints/trackers/NetworkStateTracker.kt
M work/work-runtime/src/main/java/androidx/work/impl/constraints/trackers/BatteryChargingTracker.kt
M work/work-runtime/src/main/java/androidx/work/impl/constraints/trackers/BroadcastReceiverConstraintTracker.kt
M work/work-runtime/src/main/java/androidx/work/impl/constraints/trackers/BatteryNotLowTracker.kt
M work/work-runtime/src/main/java/androidx/work/impl/constraints/trackers/Trackers.kt
ap...@google.com <ap...@google.com> #18
Branch: androidx-main
commit 223a4c0ae815f9a17cde65025662fb61e94e4c93
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Thu Jan 06 18:55:05 2022
Clean up lint-baseline for files that were migrated to Kotlin
bug: 209145335
Test: NA
Change-Id: Ic7eb4592ce803880ae888df208811876e6116cf0
Merged-In: Ic2cd6b2bfafbd704e0b0adc5f25477ac566d6b82
M work/work-runtime/lint-baseline.xml
ap...@google.com <ap...@google.com> #19
Branch: androidx-main
commit 61aca7b33219167a7976251f9db6a7cff6b5c3e0
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Mon Mar 28 00:55:03 2022
Migrate IdGenerator to Kotlin
bug: 209145335
Test: N/A
Change-Id: If56685618430df3c0b923aa439cf5c45acf66e1a
M work/work-runtime/build.gradle
M work/work-runtime/src/androidTest/java/androidx/work/impl/background/systemjob/SystemJobSchedulerTest.java
M work/work-runtime/src/main/java/androidx/work/impl/WorkDatabaseMigrations.kt
M work/work-runtime/src/main/java/androidx/work/Configuration.java
M work/work-runtime/src/main/java/androidx/work/impl/utils/IdGenerator.kt
M work/work-runtime/src/androidTest/java/androidx/work/WorkDatabaseMigrationTest.java
M work/work-runtime/src/androidTest/java/androidx/work/impl/utils/IdGeneratorTest.java
ap...@google.com <ap...@google.com> #20
Branch: androidx-main
commit 63850bba5f6f19cf6a64b207b770eeac41fd4df7
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Sun Mar 27 22:34:44 2022
Rename IdGenerator.java to IdGenerator.kt
bug: 209145335
Test: N/A
Change-Id: Idc5b65dbbf27f1d004942019dc6ef68bbc8775b0
M work/work-runtime/src/main/java/androidx/work/impl/utils/IdGenerator.kt
ap...@google.com <ap...@google.com> #21
Branch: androidx-main
commit 68f7ab6507dc62dcb10b9c834729a0303ab754ad
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Sun Mar 27 22:23:15 2022
Migrate RawQueries to Kotlin
bug: 209145335
Test: refactoring
Change-Id: Id17aee5dff51a61125a9ac58137d57787da582ee
M work/work-runtime/src/main/java/androidx/work/impl/utils/StatusRunnable.java
M work/work-runtime/src/main/java/androidx/work/impl/WorkManagerImpl.java
M work/work-runtime/src/androidTest/java/androidx/work/RawWorkInfoDaoTest.kt
M work/work-runtime/src/main/java/androidx/work/impl/utils/RawQueries.kt
ap...@google.com <ap...@google.com> #22
Branch: androidx-main
commit 75488088de77563bfa4c6b87b2892836b3677e71
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Sun Mar 27 21:45:25 2022
Rename RawQueries.java -> RawQueries.kt
bug: 209145335
Test: N/A
Change-Id: Ie0de07b50025666125dbc76bb9494c7837099083
M work/work-runtime/src/main/java/androidx/work/impl/utils/RawQueries.kt
ap...@google.com <ap...@google.com> #23
Branch: androidx-main
commit 1c3934aedfbb9042647a23bcfebd10ffd0fb4e87
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Sun Apr 03 15:26:16 2022
Migrate WakeLocks to Kotlin
bug: 209145335
Test: N/A
Change-Id: I70f530d8ca6a7e6cb6e3edbf17fdf61122dd2230
M work/work-runtime/src/main/java/androidx/work/impl/utils/WakeLocks.kt
ap...@google.com <ap...@google.com> #24
Branch: androidx-main
commit c53166d074705ac2550c86f3b76b458c4c65e9e7
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Sun Apr 03 14:39:28 2022
Rename WakeLocks.java to WakeLocks.kt
bug: 209145335
Test: N/A
Change-Id: I3b6e5fd5b6f447a6e16bc6258e32ea15bb7a36a9
M work/work-runtime/src/main/java/androidx/work/impl/utils/WakeLocks.kt
ap...@google.com <ap...@google.com> #25
Branch: androidx-main
commit 2a18c0310f30aab5e749ddfb03cd00a38fc16a54
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Fri Apr 01 23:24:31 2022
Move inline helpers for OneTimeWorkRequest & PeriodicWorkRequest
work-runtime-ktx -> work-runtime
bug: 209145335
Test: refactoring
Relnote: "Inline helpers for OneTimeWorkRequest & PeriodicWorkRequest were
moved from `androidx.work:work-runtime-ktx` to `androidx.work:work-runtime`"
Change-Id: I0010f0bc806318ad840550458d872c12ee60eae7
M work/work-runtime-ktx/api/current.txt
M work/work-runtime-ktx/api/restricted_current.txt
M work/work-runtime-ktx/api/current.ignore
M work/work-runtime-ktx/api/public_plus_experimental_current.txt
D work/work-runtime-ktx/src/main/java/androidx/work/PeriodicWorkRequest.kt
M work/work-runtime-ktx/api/api_lint.ignore
M work/work-runtime/api/public_plus_experimental_current.txt
M work/work-runtime/api/current.txt
M work/work-runtime/api/restricted_current.txt
M work/work-runtime/src/main/java/androidx/work/OneTimeWorkRequest.kt
M work/work-runtime-ktx/api/restricted_current.ignore
M work/work-runtime/src/main/java/androidx/work/PeriodicWorkRequest.kt
D work/work-runtime-ktx/src/main/java/androidx/work/OneTimeWorkRequest.kt
M work/work-runtime/api/api_lint.ignore
ap...@google.com <ap...@google.com> #26
Branch: androidx-main
commit 79a471d7d4788be5c5e73929daf02a5736f26f43
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Fri Apr 01 23:00:59 2022
Migrate WorkRequest to Kotlin
Relnote: N/A
bug: 209145335
Test: refactoring
Change-Id: If78a3dc9007ca6b84c3f954c54fb14a2de58ddf7
M work/work-runtime/api/restricted_current.txt
M work/work-runtime/src/main/java/androidx/work/impl/model/WorkSpec.kt
M work/work-runtime/src/main/java/androidx/work/OneTimeWorkRequest.kt
M work/work-runtime/api/public_plus_experimental_current.txt
M work/work-runtime/api/restricted_current.ignore
M work/work-runtime/src/main/java/androidx/work/PeriodicWorkRequest.kt
M work/work-runtime/api/current.ignore
M work/work-runtime/api/current.txt
M work/work-runtime/src/main/java/androidx/work/WorkRequest.kt
ap...@google.com <ap...@google.com> #27
Branch: androidx-main
commit a5ab3d2c4682bc7d40d618c60b7962509e4dde52
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Fri Apr 01 18:16:03 2022
Rename *Request.java -> *Request.kt
bug: 209145335
Test: refactoring
Change-Id: Idff67d592f5252d8707c51561377d4fabfff45d8
M work/work-runtime/src/main/java/androidx/work/OneTimeWorkRequest.kt
M work/work-runtime/src/main/java/androidx/work/PeriodicWorkRequest.kt
M work/work-runtime/src/main/java/androidx/work/WorkRequest.kt
ap...@google.com <ap...@google.com> #28
Branch: androidx-main
commit a4d9af457492b81e038923dc224de465d5050946
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Sat Apr 02 11:55:40 2022
Migrate ProcessUtils to kotlin
bug: 209145335
Test: refactoring
Change-Id: If2d46362ab20338230e4ace5680d354e2677b00f
M work/work-runtime/src/main/java/androidx/work/impl/utils/ProcessUtils.kt
ap...@google.com <ap...@google.com> #29
Branch: androidx-main
commit f63f7fac9dda108333cf515b3fbc6889e7ef01df
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Sat Apr 02 01:18:44 2022
Rename ProcessUtils.java to ProcessUtils.kt
bug: 209145335
Test: refactoring
Change-Id: I2472414bb76a8b00a820b6a5762b18d20607bba0
M work/work-runtime/src/main/java/androidx/work/impl/utils/ProcessUtils.kt
ap...@google.com <ap...@google.com> #30
Branch: androidx-main
commit 913bf47276f789914bb04fde4cb2fd4fe5886d8a
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Sun Apr 03 14:15:49 2022
Migrate *Worker to Kotlin
bug: 209145335
Test: N/A
Change-Id: I26be62e34a7eb0558573c827368efd068fe12265
M work/work-runtime/src/androidTest/java/androidx/work/impl/WorkManagerImplTest.java
M work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/MainActivity.java
M work/work-runtime/src/main/java/androidx/work/impl/workers/CombineContinuationsWorker.kt
M work/work-runtime/src/androidTest/java/androidx/work/impl/workers/ConstraintTrackingWorkerTest.java
M work/work-runtime/src/main/java/androidx/work/impl/utils/EnqueueRunnable.java
M work/work-runtime/src/main/java/androidx/work/impl/workers/ConstraintTrackingWorker.kt
M work/work-runtime/src/main/java/androidx/work/impl/workers/DiagnosticsWorker.kt
ap...@google.com <ap...@google.com> #31
Branch: androidx-main
commit e369a7b6f545d4cc88e6d215124d6629e404d91d
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Sat Apr 02 15:20:18 2022
Rename *Worker.java to *Worker.kt
bug: 209145335
Test: N/A
Change-Id: I2db19d9c049c13af79faf5954be41f453c1e0575
M work/work-runtime/src/main/java/androidx/work/impl/workers/CombineContinuationsWorker.kt
M work/work-runtime/src/main/java/androidx/work/impl/workers/ConstraintTrackingWorker.kt
M work/work-runtime/src/main/java/androidx/work/impl/workers/DiagnosticsWorker.kt
ap...@google.com <ap...@google.com> #32
Branch: androidx-main
commit e35e0843068e2e2058eb96570aa867cac0853afa
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Mon Oct 17 15:12:50 2022
Migrate WorkInfo to Kotlin
bug: 209145335
Test: refactoring
Relnote: N/A
Change-Id: I1832d68d2f415bf0051904a31785a892cc872fde
M libraryversions.toml
A work/work-runtime/api/current.ignore
M work/work-runtime/api/current.txt
M work/work-runtime/api/public_plus_experimental_current.txt
A work/work-runtime/api/restricted_current.ignore
M work/work-runtime/api/restricted_current.txt
M work/work-runtime/src/main/java/androidx/work/WorkInfo.kt
ap...@google.com <ap...@google.com> #33
Branch: androidx-main
commit f328aaebd16d13e533e2866b6f2f51cdf4488360
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Mon Oct 17 14:49:07 2022
Move WorkInfo.java to .Kt
bug: 209145335
Test: NA
Change-Id: Idff216c9b296edd8eaf7639dc7ef04ef3fa3606c
M work/work-runtime/src/main/java/androidx/work/WorkInfo.kt
ap...@google.com <ap...@google.com> #34
Branch: androidx-main
commit 16046a2181271f9727126e17ab55ee634bf633a6
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Fri Nov 25 22:09:48 2022
Move InputMerger related code to Kotlin
Relnote: N/A
bug: 209145335
Test: refactoring
Change-Id: I31f80efa33fe1d1eead027bc01a805f5365f9524
M work/work-runtime/api/current.txt
M work/work-runtime/api/public_plus_experimental_current.txt
M work/work-runtime/api/restricted_current.txt
M work/work-runtime/src/main/java/androidx/work/Configuration.java
M work/work-runtime/src/main/java/androidx/work/InputMerger.kt
M work/work-runtime/src/main/java/androidx/work/InputMergerFactory.kt
M work/work-runtime/src/main/java/androidx/work/OneTimeWorkRequest.kt
M work/work-runtime/src/main/java/androidx/work/OverwritingInputMerger.kt
M work/work-runtime/src/main/java/androidx/work/impl/WorkDatabase.kt
M work/work-runtime/src/main/java/androidx/work/impl/model/WorkSpec.kt
A work/work-runtime/src/schemas/androidx.work.impl.WorkDatabase/17.json
M work/work-testing/src/androidTest/java/androidx/work/testing/WorkManagerInitHelperTest.java
ap...@google.com <ap...@google.com> #35
Branch: androidx-main
commit 3f1aad9c6869839b7b0b8caba8d9d6ac6d85115b
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Fri Nov 25 21:24:53 2022
Move InputMerger related classes to *.kt
bug: 209145335
Test: NA
Change-Id: I7e27178402b28ba543cd0c752c4aec179a5d7f49
M work/work-runtime/src/main/java/androidx/work/InputMerger.kt
M work/work-runtime/src/main/java/androidx/work/InputMergerFactory.kt
M work/work-runtime/src/main/java/androidx/work/OverwritingInputMerger.kt
ap...@google.com <ap...@google.com> #36
Branch: androidx-main
commit cb73f5d95e0531a419d2bc14d075c3eb35e9bb8c
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Mon Oct 17 16:10:28 2022
Make WorkInfo constructor public
bug: 209145335
Test: refactoring
Relnote: "WorkInfo's constructor is public now,
that can useful in testing."
Change-Id: Ia00b6beffca0b0b2dff5cdae67020bbd4b068579
M work/work-multiprocess/src/androidTest/java/androidx/work/multiprocess/ParcelableWorkInfoTest.kt
M work/work-multiprocess/src/main/java/androidx/work/multiprocess/parcelable/ParcelableWorkInfo.java
M work/work-runtime/api/current.txt
M work/work-runtime/api/public_plus_experimental_current.txt
M work/work-runtime/api/restricted_current.txt
M work/work-runtime/src/androidTest/java/androidx/work/impl/WorkManagerImplTest.java
M work/work-runtime/src/main/java/androidx/work/WorkInfo.kt
M work/work-runtime/src/main/java/androidx/work/impl/model/WorkSpec.kt
M work/work-runtime/src/test/java/androidx/work/WorkInfoTest.kt
ap...@google.com <ap...@google.com> #37
Branch: androidx-main
commit f20e994d97815fa9f2310d99d84f6f2bd039d0a3
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Sat Nov 26 00:51:36 2022
Move Configuration to kotlin
bug: 209145335
Test: refactoring
Relnote: N/A
Change-Id: I640fc5e07460ee3504f2243e689187e43d52c42b
M work/work-inspection/src/androidTest/java/androidx/work/inspection/InspectorApp.kt
M work/work-runtime/api/current.ignore
M work/work-runtime/api/current.txt
M work/work-runtime/api/public_plus_experimental_current.txt
M work/work-runtime/api/restricted_current.ignore
M work/work-runtime/api/restricted_current.txt
M work/work-runtime/src/androidTest/java/androidx/work/WorkForegroundRunnableTest.kt
M work/work-runtime/src/main/java/androidx/work/Configuration.kt
M work/work-runtime/src/main/java/androidx/work/InputMergerFactory.kt
ap...@google.com <ap...@google.com> #38
Branch: androidx-main
commit 0704c05f12bd248d59b5db9f78638bc78739881a
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Fri Nov 25 23:56:45 2022
Move Configuration.java to Configuration.kt
bug: 209145335
Test: NA
Change-Id: If7413a874f286f1d1488336e7011d42188342a0b
M work/work-runtime/src/main/java/androidx/work/Configuration.kt
ap...@google.com <ap...@google.com> #39
Branch: androidx-main
commit fcf6647776e53ef7c97339bc388b1d70336f51a9
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Fri Feb 03 14:56:22 2023
Migrate StartWorkRunnable & StopWorkRunnable to Kotlin
As a drive by use Processor directly in those runnables.
bug: 209145335
Test: ./gradlew :work:work-runtime:cC
Change-Id: I44d6dca55298c98026e1bdd75faf214ee7bacddb
M work/work-runtime/src/androidTest/java/androidx/work/impl/foreground/SystemForegroundDispatcherTest.kt
M work/work-runtime/src/main/java/androidx/work/impl/WorkManagerImpl.java
M work/work-runtime/src/main/java/androidx/work/impl/utils/StartWorkRunnable.kt
M work/work-runtime/src/main/java/androidx/work/impl/utils/StopWorkRunnable.kt
ap...@google.com <ap...@google.com> #40
Branch: androidx-main
commit 9651c996b5689c1b1ed1267447759bd816f878bc
Author: Sergey Vasilinets <sergeyv@google.com>
Date: Fri Feb 03 14:41:21 2023
Move StartWorkRunnable & StopWorkRunnable from .java to .kt
bug: 209145335
Test: NA
Change-Id: I41f0e9b82c786bfa4118f92564ab7f3c17307dd5
M work/work-runtime/src/main/java/androidx/work/impl/utils/StartWorkRunnable.kt
M work/work-runtime/src/main/java/androidx/work/impl/utils/StopWorkRunnable.kt
Description
No description yet.