|
16 | 16 |
|
17 | 17 | <manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
18 | 18 |
|
19 | | - <uses-feature android:name="android.hardware.camera" android:required="false" /> |
20 | | - <uses-feature android:name="android.hardware.microphone" android:required="false" /> |
| 19 | + <uses-feature |
| 20 | + android:name="android.hardware.camera" |
| 21 | + android:required="false" /> |
| 22 | + <uses-feature |
| 23 | + android:name="android.hardware.microphone" |
| 24 | + android:required="false" /> |
21 | 25 |
|
22 | 26 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
23 | 27 | <uses-permission android:name="android.permission.CAMERA" /> |
|
28 | 32 | <application> |
29 | 33 | <activity |
30 | 34 | android:name=".ui.ElementCallActivity" |
31 | | - android:label="@string/element_call" |
32 | | - android:exported="true" |
33 | | - android:taskAffinity="io.element.android.features.call" |
34 | 35 | android:configChanges="screenSize|screenLayout|orientation|keyboardHidden|keyboard|navigation|uiMode" |
35 | | - android:launchMode="singleTask"> |
| 36 | + android:exported="true" |
| 37 | + android:label="@string/element_call" |
| 38 | + android:launchMode="singleTask" |
| 39 | + android:taskAffinity="io.element.android.features.call"> |
36 | 40 |
|
37 | 41 | <intent-filter android:autoVerify="true"> |
38 | 42 | <action android:name="android.intent.action.VIEW" /> |
| 43 | + |
39 | 44 | <category android:name="android.intent.category.DEFAULT" /> |
40 | 45 | <category android:name="android.intent.category.BROWSABLE" /> |
41 | 46 |
|
|
46 | 51 | <!-- Custom scheme to handle urls from other domains in the format: element://call?url=https%3A%2F%2Felement.io --> |
47 | 52 | <intent-filter> |
48 | 53 | <action android:name="android.intent.action.VIEW" /> |
| 54 | + |
49 | 55 | <category android:name="android.intent.category.DEFAULT" /> |
50 | 56 | <category android:name="android.intent.category.BROWSABLE" /> |
51 | 57 |
|
|
55 | 61 | <!-- Custom scheme to handle urls from other domains in the format: io.element.call:/?url=https%3A%2F%2Felement.io --> |
56 | 62 | <intent-filter> |
57 | 63 | <action android:name="android.intent.action.VIEW" /> |
| 64 | + |
58 | 65 | <category android:name="android.intent.category.DEFAULT" /> |
59 | 66 | <category android:name="android.intent.category.BROWSABLE" /> |
60 | 67 |
|
61 | 68 | <data android:scheme="io.element.call" /> |
62 | 69 | </intent-filter> |
63 | 70 |
|
64 | 71 | </activity> |
65 | | - <service android:name=".CallForegroundService" android:enabled="true" android:foregroundServiceType="mediaPlayback" /> |
| 72 | + <service |
| 73 | + android:name=".CallForegroundService" |
| 74 | + android:enabled="true" |
| 75 | + android:foregroundServiceType="mediaPlayback" /> |
66 | 76 | </application> |
67 | 77 |
|
68 | 78 | </manifest> |
0 commit comments