|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
3 | | - xmlns:tools="http://schemas.android.com/tools" |
4 | | - package="app.trigger"> |
| 3 | + xmlns:tools="http://schemas.android.com/tools"> |
5 | 4 |
|
6 | 5 | <!-- For WiFi access --> |
7 | 6 | <uses-permission android:name="android.permission.INTERNET" /> |
8 | 7 | <!-- Read WiFi SSID (ACCESS_COARSE_LOCATION was sufficient before Android 10) --> |
9 | 8 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
| 9 | + <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| 10 | + |
10 | 11 | <!-- For Bluetooth access --> |
11 | 12 | <uses-permission android:name="android.permission.BLUETOOTH" /> |
12 | | - <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> |
| 13 | + <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" android:minSdkVersion="31" /> |
13 | 14 |
|
14 | 15 | <!-- For Bluetooth Low Energy (BLE) access --> |
15 | 16 | <uses-feature android:name="android.hardware.bluetooth_le" android:required="false"/> |
| 17 | + <uses-feature |
| 18 | + android:name="android.hardware.camera" |
| 19 | + android:required="false" /> |
16 | 20 |
|
17 | 21 | <!-- Check if communication is possible --> |
18 | 22 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
19 | 23 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
20 | | - <!-- Scan Qr-Code --> |
| 24 | + <!-- Scan QR-Code --> |
21 | 25 | <uses-permission android:name="android.permission.CAMERA"/> |
22 | 26 | <!-- For MQTT --> |
23 | 27 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
|
33 | 37 | android:theme="@style/AppTheme" > |
34 | 38 | <activity |
35 | 39 | android:name=".MainActivity" |
36 | | - android:label="@string/app_name" |
37 | | - android:screenOrientation="portrait" |
38 | 40 | android:exported="true"> |
39 | 41 | <intent-filter> |
40 | 42 | <action android:name="android.intent.action.MAIN" /> |
|
43 | 45 | </activity> |
44 | 46 | <activity |
45 | 47 | android:name=".SetupActivity" |
46 | | - android:label="@string/action_edit" |
47 | | - android:screenOrientation="portrait" > |
48 | | - </activity> |
| 48 | + android:label="@string/action_edit" /> |
49 | 49 | <activity |
50 | 50 | android:name=".AboutActivity" |
51 | | - android:label="@string/action_about" |
52 | | - android:screenOrientation="portrait" > |
53 | | - </activity> |
| 51 | + android:label="@string/action_about" /> |
54 | 52 | <activity |
55 | 53 | android:name=".QRShowActivity" |
56 | 54 | android:exported="true" |
57 | | - android:label="@string/action_export" |
58 | | - android:screenOrientation="portrait" /> |
| 55 | + android:label="@string/action_export" /> |
59 | 56 | <activity |
60 | 57 | android:name=".QRScanActivity" |
61 | | - android:label="@string/action_import" |
62 | | - android:screenOrientation="portrait" /> |
| 58 | + android:label="@string/action_import" /> |
63 | 59 | <activity |
64 | 60 | android:name=".BackupActivity" |
65 | 61 | android:label="@string/action_backup" |
66 | | - android:configChanges="orientation|screenSize" |
67 | | - android:screenOrientation="portrait" /> |
| 62 | + android:configChanges="orientation|screenSize" /> |
68 | 63 | <activity |
69 | 64 | android:name=".ssh.SshKeyPairActivity" |
70 | 65 | android:label="@string/manage_ssh_key_pair" |
71 | | - android:screenOrientation="portrait" |
72 | 66 | android:exported="false"> |
73 | 67 | <intent-filter> |
74 | 68 | <action android:name=".ssh.KeyPairActivity" /> |
|
78 | 72 | <activity |
79 | 73 | android:name=".mqtt.MqttClientKeyPairActivity" |
80 | 74 | android:label="Manage Client Private Key" |
81 | | - android:screenOrientation="portrait" |
82 | 75 | android:exported="false"> |
83 | 76 | <intent-filter> |
84 | 77 | <action android:name=".mqtt.MqttPrivateClientKeyActivity" /> |
|
88 | 81 | <activity |
89 | 82 | android:name=".https.CertificateActivity" |
90 | 83 | android:label="@string/manage_tls_certificate" |
91 | | - android:screenOrientation="portrait" |
92 | 84 | android:exported="false"> |
93 | 85 | <intent-filter> |
94 | 86 | <action android:name=".https.CertificateActivity" /> |
|
98 | 90 | <activity |
99 | 91 | android:name=".ImageActivity" |
100 | 92 | android:label="Select Image" |
101 | | - android:screenOrientation="portrait" |
102 | 93 | android:exported="false"> |
103 | 94 | <intent-filter> |
104 | 95 | <action android:name=".ImageActivity" /> |
|
0 commit comments