• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2015 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17
18<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19          package="com.android.traceur"
20          android:versionCode="2"
21          android:versionName="1.0">
22    <uses-sdk android:minSdkVersion="26" android:targetSdkVersion="26"/>
23
24    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
25
26    <!-- Used for adding the Quick Settings tile to the status bar. -->
27    <uses-permission android:name="android.permission.STATUS_BAR" />
28
29    <!-- Declare Android TV support. -->
30    <uses-feature android:name="android.software.leanback" android:required="false" />
31
32    <!-- touch screen is not required for TV -->
33    <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
34
35    <application android:label="@string/system_tracing"
36        android:theme="@style/Theme.Settings">
37
38        <activity android:name=".MainActivity"
39                  android:description="@string/record_system_activity"
40                  android:label="@string/system_tracing"
41                  android:launchMode="singleTask">
42            <intent-filter>
43                <action android:name="android.intent.action.MAIN"/>
44                <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
45                <category android:name="android.intent.category.INFO"/>
46            </intent-filter>
47            <intent-filter>
48                <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
49            </intent-filter>
50
51            <!-- Mark this activity as a dynamic setting in the development category. -->
52            <intent-filter>
53                <action android:name="com.android.settings.action.IA_SETTINGS" />
54            </intent-filter>
55            <meta-data android:name="com.android.settings.category"
56              android:value="com.android.settings.category.ia.development" />
57            <meta-data android:name="com.android.settings.summary" android:resource="@string/record_system_activity" />
58            <meta-data android:name="com.android.settings.order" android:value="10" />
59        </activity>
60
61        <receiver android:name=".Receiver" android:permission="android.permission.DUMP">
62            <intent-filter>
63                <action android:name="android.intent.action.BOOT_COMPLETED" />
64            </intent-filter>
65        </receiver>
66
67        <service android:name=".AtraceService" />
68
69        <service
70            android:name=".QsService"
71            android:enabled="false"
72            android:icon="@drawable/stat_sys_adb"
73            android:label="@string/record_trace"
74            android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
75            <intent-filter>
76                <action android:name="android.service.quicksettings.action.QS_TILE" />
77            </intent-filter>
78        </service>
79
80        <provider
81            android:name="android.support.v4.content.FileProvider"
82            android:authorities="com.android.traceur.files"
83            android:grantUriPermissions="true"
84            android:exported="false">
85            <meta-data
86                android:name="android.support.FILE_PROVIDER_PATHS"
87                android:resource="@xml/file_paths" />
88        </provider>
89
90        <provider
91            android:name=".SearchProvider"
92            android:authorities="com.android.traceur"
93            android:multiprocess="false"
94            android:grantUriPermissions="true"
95            android:permission="android.permission.READ_SEARCH_INDEXABLES"
96            android:exported="true">
97            <intent-filter>
98                <action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" />
99            </intent-filter>
100        </provider>
101    </application>
102</manifest>
103