mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
feature: Sleep as android support
Implement support for Sleep As Android with an usable example for ZeppOs devices Sleep as Android documentation: https://docs.sleep.urbandroid.org/devs/wearable_api.html Signed-off-by: Marcel Alexandru Nitan <nitan.marcel@protonmail.com>
This commit is contained in:
@@ -110,6 +110,24 @@
|
||||
android:requestLegacyExternalStorage="true"
|
||||
android:theme="@style/GadgetbridgeTheme"
|
||||
tools:replace="android:label">
|
||||
<receiver
|
||||
android:name=".externalevents.sleepasandroid.SleepAsAndroidReceiver"
|
||||
android:enabled="true"
|
||||
android:exported="true" >
|
||||
<intent-filter>
|
||||
<action android:name="com.urbandroid.sleep.watch.START_TRACKING" />
|
||||
<action android:name="com.urbandroid.sleep.watch.STOP_TRACKING" />
|
||||
<action android:name="com.urbandroid.sleep.watch.SET_PAUSE" />
|
||||
<action android:name="com.urbandroid.sleep.watch.SET_SUSPENDED" />
|
||||
<action android:name="com.urbandroid.sleep.watch.SET_BATCH_SIZE" />
|
||||
<action android:name="com.urbandroid.sleep.watch.START_ALARM" />
|
||||
<action android:name="com.urbandroid.sleep.watch.STOP_ALARM" />
|
||||
<action android:name="com.urbandroid.sleep.watch.UPDATE_ALARM" />
|
||||
<action android:name="com.urbandroid.sleep.watch.SHOW_NOTIFICATION" />
|
||||
<action android:name="com.urbandroid.sleep.watch.HINT" />
|
||||
<action android:name="com.urbandroid.sleep.watch.CHECK_CONNECTED" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<activity
|
||||
android:name=".activities.ControlCenterv2"
|
||||
android:label="@string/title_activity_controlcenter"
|
||||
@@ -132,6 +150,10 @@
|
||||
android:name=".activities.DashboardPreferencesActivity"
|
||||
android:label="@string/dashboard_settings"
|
||||
android:parentActivityName=".activities.SettingsActivity" />
|
||||
<activity
|
||||
android:name=".activities.SleepAsAndroidPreferencesActivity"
|
||||
android:label="@string/sleepasandroid_settings"
|
||||
android:parentActivityName=".activities.SettingsActivity" />
|
||||
<activity
|
||||
android:name=".activities.AboutUserPreferencesActivity"
|
||||
android:label="@string/activity_prefs_about_you"
|
||||
@@ -859,4 +881,4 @@
|
||||
android:parentActivityName=".activities.ControlCenterv2" />
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
</manifest>
|
||||
Reference in New Issue
Block a user