diff --git a/app/build.gradle b/app/build.gradle index 3b7e8fa..70c9eb6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -105,6 +105,7 @@ dependencies { implementation "org.radarbase:radar-android-google-sleep:$radar_commons_android_version" implementation "org.radarbase:radar-android-google-activity:$radar_commons_android_version" implementation "org.radarbase:radar-android-google-places:$radar_commons_android_version" + implementation "org.radarbase:radar-android-phone-audio-input:$radar_commons_android_version" implementation "androidx.lifecycle:lifecycle-process:$lifecycle_process_version" implementation "androidx.legacy:legacy-support-v4:$legacy_support_version" diff --git a/app/src/main/res/xml/remote_config_defaults.xml b/app/src/main/res/xml/remote_config_defaults.xml index 7b38c57..746f7cf 100644 --- a/app/src/main/res/xml/remote_config_defaults.xml +++ b/app/src/main/res/xml/remote_config_defaults.xml @@ -47,7 +47,7 @@ device_services_to_connect - .phone.PhoneSensorProvider .application.ApplicationServiceProvider .weather.WeatherApiProvider .phone.PhoneLocationProvider .phone.PhoneBluetoothProvider .phone.PhoneContactListProvider .phone.PhoneUsageProvider .passive.bittium.FarosProvider .google.GoogleActivityProvider .google.GoogleSleepProvider .google.GooglePlacesProvider + .phone.PhoneSensorProvider .application.ApplicationServiceProvider .weather.WeatherApiProvider .phone.PhoneLocationProvider .phone.PhoneBluetoothProvider .phone.PhoneContactListProvider .phone.PhoneUsageProvider .phone.PhoneAudioInputProvider .passive.bittium.FarosProvider .google.GoogleActivityProvider .google.GoogleSleepProvider .google.GooglePlacesProvider diff --git a/app/src/playStore/java/org/radarcns/detail/RadarServiceImpl.kt b/app/src/playStore/java/org/radarcns/detail/RadarServiceImpl.kt index e9ecdf4..4bbf664 100644 --- a/app/src/playStore/java/org/radarcns/detail/RadarServiceImpl.kt +++ b/app/src/playStore/java/org/radarcns/detail/RadarServiceImpl.kt @@ -34,6 +34,7 @@ import org.radarbase.passive.phone.PhoneBluetoothProvider import org.radarbase.passive.phone.PhoneContactListProvider import org.radarbase.passive.phone.PhoneLocationProvider import org.radarbase.passive.phone.PhoneSensorProvider +import org.radarbase.passive.phone.audio.input.PhoneAudioInputProvider import org.radarbase.passive.polar.PolarProvider import org.radarbase.passive.phone.usage.PhoneUsageProvider import org.radarbase.passive.weather.WeatherApiProvider @@ -53,7 +54,8 @@ class RadarServiceImpl : RadarService() { WeatherApiProvider(this), GoogleActivityProvider(this), GoogleSleepProvider(this), - GooglePlacesProvider(this) + GooglePlacesProvider(this), + PhoneAudioInputProvider(this) ) override val servicePermissions: List diff --git a/app/src/selfRelease/java/org/radarcns/detail/RadarServiceImpl.kt b/app/src/selfRelease/java/org/radarcns/detail/RadarServiceImpl.kt index fac2f8e..4b8a256 100644 --- a/app/src/selfRelease/java/org/radarcns/detail/RadarServiceImpl.kt +++ b/app/src/selfRelease/java/org/radarcns/detail/RadarServiceImpl.kt @@ -45,6 +45,8 @@ import org.radarbase.passive.phone.PhoneLocationProvider import org.radarbase.passive.phone.PhoneSensorProvider import org.radarbase.passive.phone.telephony.PhoneLogProvider import org.radarbase.passive.phone.usage.PhoneUsageProvider +import org.radarbase.passive.phone.audio.input.PhoneAudioInputProvider +import org.radarbase.passive.polar.PolarProvider import org.radarbase.passive.weather.WeatherApiProvider import org.radarcns.detail.UpdatesActivity.Companion.DAY import org.radarcns.detail.UpdatesActivity.Companion.LAST_AUTO_UPDATE_CHECK_TIME_KEY @@ -67,6 +69,7 @@ class RadarServiceImpl : RadarService() { OpenSmileAudioProvider(this), E4Provider(this), FarosProvider(this), + PolarProvider(this), PhoneBluetoothProvider(this), PhoneContactListProvider(this), PhoneLocationProvider(this), @@ -76,7 +79,8 @@ class RadarServiceImpl : RadarService() { WeatherApiProvider(this), GoogleActivityProvider(this), GoogleSleepProvider(this), - GooglePlacesProvider(this) + GooglePlacesProvider(this), + PhoneAudioInputProvider(this) ) override val servicePermissions: List