68 lines
2.6 KiB
XML
68 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|||
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||
|
|
|
||
|
|
<uses-feature android:name="android.hardware.type.watch" />
|
||
|
|
|
||
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||
|
|
|
||
|
|
<application
|
||
|
|
android:allowBackup="true"
|
||
|
|
android:icon="@mipmap/ic_launcher"
|
||
|
|
android:label="@string/app_name"
|
||
|
|
android:supportsRtl="true"
|
||
|
|
android:theme="@android:style/Theme.DeviceDefault">
|
||
|
|
<service
|
||
|
|
android:name=".complication.MainComplicationService"
|
||
|
|
android:exported="true"
|
||
|
|
android:label="@string/complication_label"
|
||
|
|
android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER">
|
||
|
|
<intent-filter>
|
||
|
|
<action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST" />
|
||
|
|
</intent-filter>
|
||
|
|
|
||
|
|
<meta-data
|
||
|
|
android:name="android.support.wearable.complications.SUPPORTED_TYPES"
|
||
|
|
android:value="SHORT_TEXT" />
|
||
|
|
<meta-data
|
||
|
|
android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS"
|
||
|
|
android:value="0" />
|
||
|
|
</service>
|
||
|
|
<service
|
||
|
|
android:name=".tile.MainTileService"
|
||
|
|
android:exported="true"
|
||
|
|
android:label="@string/tile_label"
|
||
|
|
android:permission="com.google.android.wearable.permission.BIND_TILE_PROVIDER">
|
||
|
|
<intent-filter>
|
||
|
|
<action android:name="androidx.wear.tiles.action.BIND_TILE_PROVIDER" />
|
||
|
|
</intent-filter>
|
||
|
|
|
||
|
|
<meta-data
|
||
|
|
android:name="androidx.wear.tiles.PREVIEW"
|
||
|
|
android:resource="@drawable/tile_preview" />
|
||
|
|
</service>
|
||
|
|
|
||
|
|
<uses-library
|
||
|
|
android:name="com.google.android.wearable"
|
||
|
|
android:required="true" />
|
||
|
|
<!--
|
||
|
|
Set to true if your app is Standalone, that is, it does not require the handheld
|
||
|
|
app to run.
|
||
|
|
-->
|
||
|
|
<meta-data
|
||
|
|
android:name="com.google.android.wearable.standalone"
|
||
|
|
android:value="true" />
|
||
|
|
|
||
|
|
<activity
|
||
|
|
android:name=".presentation.MainActivity"
|
||
|
|
android:exported="true"
|
||
|
|
android:taskAffinity=""
|
||
|
|
android:theme="@style/MainActivityTheme.Starting">
|
||
|
|
<intent-filter>
|
||
|
|
<action android:name="android.intent.action.MAIN" />
|
||
|
|
|
||
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
||
|
|
</intent-filter>
|
||
|
|
</activity>
|
||
|
|
</application>
|
||
|
|
|
||
|
|
</manifest>
|