From 83e47da4514d55c14ab18157526abb927d7b5d58 Mon Sep 17 00:00:00 2001 From: kdo1234 <53155495+kdo1234@users.noreply.github.com> Date: Thu, 24 Dec 2020 22:08:30 -0500 Subject: [PATCH] Remove TYPE_ACTIVITY_SAMPLES --- .../src/main/java/com/reactnative/googlefit/RecordingApi.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/main/java/com/reactnative/googlefit/RecordingApi.java b/android/src/main/java/com/reactnative/googlefit/RecordingApi.java index 672c6d0f..4e8ff9f3 100644 --- a/android/src/main/java/com/reactnative/googlefit/RecordingApi.java +++ b/android/src/main/java/com/reactnative/googlefit/RecordingApi.java @@ -53,7 +53,7 @@ public static DataType getDataType(String dataTypeName) { case "distance": return DataType.TYPE_DISTANCE_DELTA; case "activity": - return DataType.TYPE_ACTIVITY_SAMPLES; + //return DataType.TYPE_ACTIVITY_SAMPLES; default: Log.v(TAG, "Unknown data type " + dataTypeName); return null; @@ -118,4 +118,4 @@ private void sendEvent(ReactContext reactContext, .getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class) .emit(eventName, params); } -} \ No newline at end of file +}