How to identify google fit activity is entered manually or tracked by sensor?
This may not be the correct way to identify sensor detected steps, but with some testing, it almost matches steps which I think recorded by sensor.
DataSource ds = DataPoint.getOriginalDataSource()
String dataStream = ds.getStreamIdentifier()
If "dataStream" string contains soft_step_delta, then we can assume that steps are recorded from phone sensor. I haven't tested it with wearable device.