File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
sentry-android-replay/src/main/java/io/sentry/android/replay/video Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 5
5
### Fixes
6
6
7
7
- No longer send out empty log envelopes ([#4497](https://github.com/getsentry/sentry-java/pull/4497))
8
+ - Session Replay: Expand fix for crash on devices to all Unisoc/Spreadtrum chipsets ([#4510](https://github.com/getsentry/sentry-java/pull/4510))
8
9
9
10
### Dependencies
10
11
Original file line number Diff line number Diff line change @@ -161,15 +161,15 @@ internal class SimpleVideoEncoder(
161
161
* ---
162
162
* Same for Motorola devices.
163
163
* ---
164
- * As for the T606, it's a Spreadtrum/Unisoc chipset and can be spread across various
165
- * devices, so we have to check the SOC_MODEL property, as the manufacturer name might have
166
- * changed.
164
+ * As for the Spreadtrum/Unisoc chipset, it can be spread across various devices, so we have
165
+ * to check the SOC_MANUFACTURER property, as the manufacturer name might have changed.
167
166
* https://github.com/getsentry/sentry-android-gradle-plugin/issues/861#issuecomment-2867021256
168
167
*/
169
168
val canvas = if (
170
169
Build .MANUFACTURER .contains(" xiaomi" , ignoreCase = true ) ||
171
170
Build .MANUFACTURER .contains(" motorola" , ignoreCase = true ) ||
172
- SystemProperties .get(SystemProperties .Property .SOC_MODEL ).equals(" T606" , ignoreCase = true )
171
+ SystemProperties .get(SystemProperties .Property .SOC_MANUFACTURER ).equals(" spreadtrum" , ignoreCase = true ) ||
172
+ SystemProperties .get(SystemProperties .Property .SOC_MANUFACTURER ).equals(" unisoc" , ignoreCase = true )
173
173
) {
174
174
surface?.lockCanvas(null )
175
175
} else {
You can’t perform that action at this time.
0 commit comments