Add camera implementation

This is to support watches with remote shutter applets that do not
act as remote triggers for other apps automatically.
This commit is contained in:
Martin.JM
2024-05-13 21:28:43 +00:00
committed by José Rebelo
parent d9863786de
commit 4c4ba623c4
14 changed files with 376 additions and 0 deletions
+10
View File
@@ -74,6 +74,8 @@
<!-- Used for starting activities from the background with intents -->
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.CAMERA"/>
<!--
SDK 30 & Android 11 - Used for getting app name from notifications, and for starting
services from other packages via intents, when targeting Android API level 30 or later
@@ -99,6 +101,9 @@
<uses-feature
android:name="android.software.companion_device_setup"
android:required="false" />
<uses-feature
android:name="android.hardware.camera"
android:required="false" />
<application
android:name=".GBApplication"
@@ -875,6 +880,11 @@
android:name=".activities.dashboard.DashboardCalendarActivity"
android:label="@string/menuitem_calendar"
android:parentActivityName=".activities.ControlCenterv2" />
<activity
android:name=".activities.CameraActivity"
android:launchMode="singleInstance"
android:exported="false" />
</application>
</manifest>