blob: 9041101b2d37fd16096553d93ae9454fb929d100 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?><!--
Copyright (C) 2023 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.healthconnect.controller">
<protected-broadcast android:name="android.health.connect.action.HEALTH_CONNECT_MIGRATION_READY" />
<uses-permission android:name="android.permission.MANAGE_HEALTH_PERMISSIONS" />
<uses-permission android:name="android.permission.MANAGE_HEALTH_DATA" />
<uses-permission android:name="android.permission.START_VIEW_PERMISSION_USAGE" />
<uses-permission android:name="android.permission.health.READ_EXERCISE_ROUTE" />
<uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
<uses-permission android:name="android.permission.LAUNCH_MULTI_PANE_SETTINGS_DEEP_LINK" />
<uses-permission android:name="android.permission.SEND_SAFETY_CENTER_UPDATE" />
<uses-permission android:name="android.permission.health.START_ONBOARDING" />
<application
android:name=".HealthConnectApplication"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_label"
android:supportsRtl="true"
android:theme="@style/Theme.HealthConnect">
<activity
android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<!-- For Open button in App Info. -->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.INFO" />
</intent-filter>
<!-- Deeplink to Home screen -->
<intent-filter>
<action android:name="android.health.connect.action.HEALTH_HOME_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<!-- Mark the activity as a dynamic setting. -->
<intent-filter>
<action android:name="com.android.settings.action.IA_SETTINGS"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
<!-- Tell Settings app which category it belongs to -->
<meta-data android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.privacy" />
<meta-data
android:name="com.android.settings.title"
android:resource="@string/app_label"/>
<meta-data android:name="com.android.settings.summary"
android:resource="@string/health_connect_summary"/>
</activity>
<activity android:name=".migration.MigrationActivity"
android:exported="true">
<intent-filter>
<action android:name="android.health.connect.action.MIGRATION"/>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".data.DataManagementActivity"
android:exported="true">
<intent-filter android:priority="1">
<action android:name="android.health.connect.action.MANAGE_HEALTH_DATA" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".permissions.shared.SettingsActivity"
android:exported="true">
<!-- Deeplink to Allowed Apps and App Access screen -->
<intent-filter>
<action android:name="android.health.connect.action.MANAGE_HEALTH_PERMISSIONS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".permissions.request.PermissionsActivity"
android:excludeFromRecents="true"
android:exported="true"
android:permission="android.permission.GRANT_RUNTIME_PERMISSIONS">
<intent-filter android:priority="1">
<action android:name="android.health.connect.action.REQUEST_HEALTH_PERMISSIONS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".route.RouteRequestActivity"
android:excludeFromRecents="true"
android:theme="@style/Theme.HealthConnect"
android:permission="android.permission.health.READ_EXERCISE"
android:exported="true">
<intent-filter android:priority="1">
<action android:name="android.health.connect.action.REQUEST_EXERCISE_ROUTE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".onboarding.OnboardingActivity"
android:exported="false"
android:theme="@style/Theme.HealthConnect" />
<provider
android:authorities="${packageName}"
android:name=".searchindexables.HealthConnectSearchIndexablesProvider"
android:multiprocess="false"
android:permission="android.permission.READ_SEARCH_INDEXABLES"
android:grantUriPermissions="true"
android:exported="true">
<intent-filter>
<action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" />
</intent-filter>
</provider>
<receiver android:name=".safetycenter.SafetySourceBroadcastReceiver"
android:exported="true">
<intent-filter>
<action android:name="android.safetycenter.action.REFRESH_SAFETY_SOURCES"/>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
</application>
<queries>
<intent>
<!-- An intent action to get package visibility into client apps. See more at b/193547946 -->
<action android:name="android.intent.action.VIEW_PERMISSION_USAGE" />
<category android:name="android.intent.category.HEALTH_PERMISSIONS" />
</intent>
</queries>
</manifest>