This repository has no description
2.3 kB
52 lines
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 package="us.lassul.assist">
4
5 <!-- CallService: each call of the page as a self-managed Telecom call. -->
6 <uses-permission android:name="android.permission.MANAGE_OWN_CALLS" />
7 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
8 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_PHONE_CALL" />
9
10 <queries>
11 <intent>
12 <action android:name="android.support.customtabs.action.CustomTabsService" />
13 </intent>
14 </queries>
15
16 <application
17 android:label="Assist"
18 android:icon="@mipmap/ic_launcher"
19 android:allowBackup="false">
20 <!-- Over the lock screen and waking the display: a headset button
21 (VOICE_COMMAND) usually arrives while the phone is locked; the
22 activity then asks to unlock before it opens the page. -->
23 <activity
24 android:name=".AssistActivity"
25 android:exported="true"
26 android:showWhenLocked="true"
27 android:turnScreenOn="true"
28 android:theme="@android:style/Theme.Translucent.NoTitleBar">
29 <intent-filter>
30 <action android:name="android.intent.action.MAIN" />
31 <category android:name="android.intent.category.LAUNCHER" />
32 </intent-filter>
33 <intent-filter>
34 <action android:name="android.intent.action.ASSIST" />
35 <category android:name="android.intent.category.DEFAULT" />
36 </intent-filter>
37 <!-- Bluetooth headsets: HFP AT+BVRA=1 makes HeadsetService start it. -->
38 <intent-filter>
39 <action android:name="android.intent.action.VOICE_COMMAND" />
40 <category android:name="android.intent.category.DEFAULT" />
41 </intent-filter>
42 </activity>
43 <service
44 android:name=".CallService"
45 android:exported="false"
46 android:foregroundServiceType="phoneCall" />
47 <!-- The browser binds it to deliver the page's postMessages. -->
48 <service
49 android:name="androidx.browser.customtabs.PostMessageService"
50 android:exported="true" />
51 </application>
52</manifest>