Skip to content

Commit

Permalink
Protect PreviewActivity from being shared with other apps (#2786)
Browse files Browse the repository at this point in the history
* Protect PreviewActivity from being shared with other apps

Signed-off-by: Elly Kitoto <[email protected]>

* Disable cloud backups

Cloud backups are stored in user's Google Drive so that it can be restored
on the user's same/new device. This would interfere with the privacy of
Health data. What this means is the user would still have access to the
data even when they nolonger work for the same health facility and the
information will be stored in users Google account.

Signed-off-by: Elly Kitoto <[email protected]>

---------

Signed-off-by: Elly Kitoto <[email protected]>
  • Loading branch information
ellykits authored Sep 29, 2023
1 parent dfa5cd7 commit 89a77ed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions android/quest/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<application
android:name=".QuestApplication"
android:allowBackup="true"
android:enableOnBackInvokedCallback="true"
android:hardwareAccelerated="true"
android:icon="@drawable/ic_launcher"
Expand Down Expand Up @@ -61,6 +62,13 @@
android:screenOrientation="portrait"
android:theme="@style/AppTheme" />

<activity
android:name="androidx.compose.ui.tooling.PreviewActivity"
android:exported="false"
android:screenOrientation="portrait"
android:theme="@style/AppTheme"
tools:replace="exported" />

<service
android:name=".ui.login.AuthAndroidService"
android:enabled="true"
Expand Down

0 comments on commit 89a77ed

Please sign in to comment.