<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright 2021 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">

    <application>
        <service
            android:name="androidx.health.services.client.impl.VersionApiService"
            android:exported="true">
            <intent-filter>
                <action android:name="hs.versionclient.BIND" />
            </intent-filter>
        </service>
    </application>

</manifest>


<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright 2021 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">

    <queries>
        <package android:name="com.google.android.wearable.healthservices" />
    </queries>

    <application>
        <service
            android:name="androidx.health.services.client.impl.VersionApiService"
            android:exported="true">
            <intent-filter>
                <action android:name="hs.versionclient.BIND" />
            </intent-filter>
        </service>
    </application>

</manifest>


Add <queries> tag to Health Services manifest
Add <queries> tag to Health Services manifest

Currently we require all clients to add this to their manifest in order
for them to be able to communicate with Health Services. This should
avoid that requirement through manifest-mergers.

Relnote: Added <queries> tag to Health Services manifest
Bug: b/227475943
Test: ./gradlew :health:health-services-client:assemble
Change-Id: Ib16169a63d3b6364cbb966eb63eb72f349659c97
