Skip to content

Commit 7e7c6ff

Browse files
cagnuleinclaude
andcommitted
fix(health-connect): show app name instead of "Manually logged"
Switch ExerciseSessionRecord metadata from RECORDING_METHOD_MANUAL_ENTRY to RECORDING_METHOD_ACTIVELY_RECORDED so Health Connect displays the app name (QZ) as the data source, matching how Peloton and other apps appear. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 88fb757 commit 7e7c6ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/android/src/HealthConnectHelper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class HealthConnectHelper {
210210
exerciseType = exerciseType(deviceType),
211211
title = if (title.isNullOrBlank()) "QZ workout" else title,
212212
notes = deviceName,
213-
metadata = Metadata(recordingMethod = Metadata.RECORDING_METHOD_MANUAL_ENTRY)
213+
metadata = Metadata(recordingMethod = Metadata.RECORDING_METHOD_ACTIVELY_RECORDED)
214214
)
215215

216216
val hasDistance = grantedPermissions.contains(HealthPermission.getWritePermission(DistanceRecord::class))

0 commit comments

Comments
 (0)