Skip to content

Commit

Permalink
Go for Health Connect approval again for appeal approved permissions (#…
Browse files Browse the repository at this point in the history
…4964)

* Go for Health Connect approval again for appeal approved permissions

* bump change log

* reset change log

* revert change log
  • Loading branch information
dshokouhi authored Jan 9, 2025
1 parent b5b2f61 commit de6d1ee
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 32 deletions.
14 changes: 7 additions & 7 deletions app/src/full/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<uses-permission android:name="com.google.android.gms.permission.CAR_FUEL" />
<uses-permission android:name="com.google.android.gms.permission.CAR_MILEAGE" />
<uses-permission android:name="com.google.android.gms.permission.CAR_SPEED" />
<!-- <uses-permission android:name="android.permission.health.READ_ACTIVE_CALORIES_BURNED" />-->
<uses-permission android:name="android.permission.health.READ_ACTIVE_CALORIES_BURNED" />
<!-- <uses-permission android:name="android.permission.health.READ_BASAL_BODY_TEMPERATURE" />-->
<!-- <uses-permission android:name="android.permission.health.READ_BASAL_METABOLIC_RATE" />-->
<!-- <uses-permission android:name="android.permission.health.READ_BLOOD_GLUCOSE" />-->
Expand All @@ -15,9 +15,9 @@
<!-- <uses-permission android:name="android.permission.health.READ_BODY_WATER_MASS" />-->
<!-- <uses-permission android:name="android.permission.health.READ_BODY_TEMPERATURE" />-->
<!-- <uses-permission android:name="android.permission.health.READ_BONE_MASS" />-->
<!-- <uses-permission android:name="android.permission.health.READ_DISTANCE" />-->
<!-- <uses-permission android:name="android.permission.health.READ_ELEVATION_GAINED" />-->
<!-- <uses-permission android:name="android.permission.health.READ_FLOORS_CLIMBED" />-->
<uses-permission android:name="android.permission.health.READ_DISTANCE" />
<uses-permission android:name="android.permission.health.READ_ELEVATION_GAINED" />
<uses-permission android:name="android.permission.health.READ_FLOORS_CLIMBED" />
<!-- <uses-permission android:name="android.permission.health.READ_HEART_RATE" />-->
<!-- <uses-permission android:name="android.permission.health.READ_HEART_RATE_VARIABILITY" />-->
<!-- <uses-permission android:name="android.permission.health.READ_HEIGHT" />-->
Expand All @@ -27,10 +27,10 @@
<!-- <uses-permission android:name="android.permission.health.READ_RESPIRATORY_RATE" />-->
<!-- <uses-permission android:name="android.permission.health.READ_RESTING_HEART_RATE" />-->
<!-- <uses-permission android:name="android.permission.health.READ_SLEEP" />-->
<!-- <uses-permission android:name="android.permission.health.READ_STEPS" />-->
<!-- <uses-permission android:name="android.permission.health.READ_TOTAL_CALORIES_BURNED" />-->
<uses-permission android:name="android.permission.health.READ_STEPS" />
<uses-permission android:name="android.permission.health.READ_TOTAL_CALORIES_BURNED" />
<uses-permission android:name="android.permission.health.READ_VO2_MAX" />
<!-- <uses-permission android:name="android.permission.health.READ_WEIGHT" />-->
<!-- <uses-permission android:name="android.permission.health.READ_VO2_MAX" />-->

<queries>
<!-- For GMS Core/Play service -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -927,31 +927,31 @@ class HealthConnectSensorManager : SensorManager {
return if (hasSensor(context)) {
listOf(
activeCaloriesBurned,
basalBodyTemperature,
basalMetabolicRate,
bloodGlucose,
bodyFat,
bodyWaterMass,
bodyTemperature,
boneMass,
diastolicBloodPressure,
// basalBodyTemperature,
// basalMetabolicRate,
// bloodGlucose,
// bodyFat,
// bodyWaterMass,
// bodyTemperature,
// boneMass,
// diastolicBloodPressure,
distance,
elevationGained,
floorsClimbed,
heartRate,
heartRateVariability,
height,
hydration,
leanBodyMass,
oxygenSaturation,
respiratoryRate,
restingHeartRate,
sleepDuration,
// heartRate,
// heartRateVariability,
// height,
// hydration,
// leanBodyMass,
// oxygenSaturation,
// respiratoryRate,
// restingHeartRate,
// sleepDuration,
steps,
systolicBloodPressure,
// systolicBloodPressure,
totalCaloriesBurned,
vo2Max,
weight
vo2Max
// weight
)
} else {
emptyList()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class SensorReceiver : SensorReceiverBase() {
DynamicColorSensorManager(),
DevicePolicyManager(),
GeocodeSensorManager(),
// HealthConnectSensorManager(),
HealthConnectSensorManager(),
KeyguardSensorManager(),
LastAppSensorManager(),
LastRebootSensorManager(),
Expand Down
8 changes: 4 additions & 4 deletions app/src/main/res/xml/changelog_master.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<changelog xmlns:tools="http://schemas.android.com/tools"
tools:ignore="MissingDefaultResource">
<release version="2025.1.1 - Main" versioncode="3">
<!-- <change>Android 9+ and Play Store: Add Health Connect sensors</change>-->
<release version="2025.1.2 - Main" versioncode="3">
<change>Android 9+ and Play Store: Add Health Connect sensors</change>
<change>Add Ethernet and VPN to Home Network options for internal URL switching</change>
<change>Add support for humidifier, media player, number and remote in device controls</change>
<change>Bug fixes and dependency updates</change>
</release>
<release version="2025.1.1 - Wear" versioncode="2">
<release version="2025.1.2 - Wear" versioncode="2">
<change>Bug fixes and dependency updates</change>
</release>
<release version="2025.1.1 - Automotive" versioncode="1">
<release version="2025.1.2 - Automotive" versioncode="1">
<change>Add Ethernet and VPN to Home Network options for internal URL switching</change>
<change>Bug fixes and dependency updates</change>
</release>
Expand Down

0 comments on commit de6d1ee

Please sign in to comment.