Countly / countly-sdk-android

Countly Product Analytics Android SDK
https://count.ly/mobile-analytics
MIT License
679 stars 295 forks source link

Delete unnecessary "removeUnsupportedDataTypes" #308

Closed arifBurakDemiray closed 4 months ago

arifBurakDemiray commented 4 months ago

Function call is unnecessary, because it has already called before coming to the that step on the recordEvent flow.

I have added the call to the not-used two places to protect logic. This will prevent looping through segmentations two times.

github-actions[bot] commented 4 months ago

Unit Test Results :rocket:

566 tests  ±0   566 :white_check_mark: ±0   1m 41s :stopwatch: +2s   1 suites ±0     0 :zzz: ±0    1 files   ±0     0 :x: ±0 

Results for commit f7250526. ± Comparison against base commit f25b8b67.