Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions wear/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,12 @@

<!-- Same reading as SgvComplication, but a tap opens the menu. Used only by the ambient
layer of the pushed Watch Face Format face, whose slots are invisible while the watch
is awake yet still answer taps - see CwfAmbientBgComplication. -->
is awake yet still answer taps - see CwfAmbientBgComplication.

The ambient sources below are HIDDEN, like the picture sources further down: the face
names them as default providers, so the chooser is the wrong place for them, and
"ambient" entries there only look like a mistake. HIDDEN stops new choices only; a
face that names a hidden source still binds it. -->
<service
android:name=".complications.CwfAmbientBgComplication"
android:exported="true"
Expand All @@ -243,6 +248,9 @@
<meta-data
android:name="android.support.wearable.complications.SAFE_WATCH_FACES"
android:value="${applicationId}.watchfacepush.wfs,${applicationId}.watchfacepush.cwf,${applicationId}.watchfacepush.circle" />
<meta-data
android:name="android.support.wearable.complications.HIDDEN"
android:value="true" />
</service>

<service
Expand All @@ -264,6 +272,9 @@
<meta-data
android:name="android.support.wearable.complications.SAFE_WATCH_FACES"
android:value="${applicationId}.watchfacepush.wfs,${applicationId}.watchfacepush.cwf,${applicationId}.watchfacepush.circle" />
<meta-data
android:name="android.support.wearable.complications.HIDDEN"
android:value="true" />
</service>

<!-- Publishes the whole Custom watch face as a full-screen image, for Watch Face Format
Expand Down Expand Up @@ -387,7 +398,8 @@
android:value="${applicationId}.watchfacepush.circle" />
</service>

<!-- The reading as text, shown inside the circle in ambient mode -->
<!-- The reading as text, shown inside the circle in ambient mode. HIDDEN for the same
reason as the Custom watchface ambient sources: the face binds it by name. -->
<service
android:name=".complications.circle.GlucoseCircleAmbientComplication"
android:exported="true"
Expand All @@ -407,6 +419,9 @@
<meta-data
android:name="android.support.wearable.complications.SAFE_WATCH_FACES"
android:value="${applicationId}.watchfacepush.circle" />
<meta-data
android:name="android.support.wearable.complications.HIDDEN"
android:value="true" />
</service>

<service
Expand Down