package `in`.caresoft.carepulse.connect.health import android.os.Bundle import android.widget.ScrollView import android.widget.TextView import androidx.appcompat.app.AppCompatActivity /** Shown by Health Connect when the patient taps "privacy policy" on the permission screen. */ class HealthRationaleActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(ScrollView(this).apply { setPadding(48, 48, 48, 48) addView(TextView(this@HealthRationaleActivity).apply { textSize = 16f text = "CarePulse Connect reads blood pressure, heart rate, oxygen, glucose, weight, temperature, breathing rate, " + "heart rate variability, steps, sleep and active energy from Health Connect only to share them with your hospital's care team " + "for remote monitoring, under the consent you gave the hospital.\n\nNothing is sold or used for advertising. You can stop sharing " + "any time in Health Connect settings or by unpairing this app. Your hospital's privacy notice explains how they keep your data." }) }) } }