blob: 5285c343015f38ab508d90dd3ef3e7e50e55396d [file] [log] [blame]
Jason Monk8a452e92017-10-31 19:21:47 -04001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright (C) 2017 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<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18 xmlns:tools="http://schemas.android.com/tools"
19 package="com.example.androidx.slice.demos">
20
21 <uses-sdk tools:overrideLibrary="androidx.app.slice.view, androidx.app.slice.builders, androidx.app.slice.core" />
22
Mady Mellordb8aa8c2017-11-08 14:26:17 -080023 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
Jason Monk8a452e92017-10-31 19:21:47 -040024 <uses-permission android:name="android.permission.BIND_SLICE" />
25
Mady Mellordb8aa8c2017-11-08 14:26:17 -080026 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
Jason Monk8a452e92017-10-31 19:21:47 -040027 <application
28 android:allowBackup="true"
29 android:icon="@mipmap/ic_launcher"
30 android:label="@string/app_name"
31 android:roundIcon="@mipmap/ic_launcher_round"
32 android:supportsRtl="true"
33 android:theme="@style/AppTheme">
34 <activity
35 android:name=".SliceBrowser"
36 android:label="@string/app_name"
37 android:theme="@style/AppTheme.NoActionBar">
38 <intent-filter>
39 <action android:name="android.intent.action.MAIN"/>
40
41 <category android:name="android.intent.category.LAUNCHER"/>
42 </intent-filter>
Jason Monked974952017-11-27 13:48:04 -050043 <intent-filter>
44 <action android:name="androidx.intent.SLICE_ACTION"/>
45 <category android:name="android.intent.category.DEFAULT"/>
46 </intent-filter>
Jason Monk8a452e92017-10-31 19:21:47 -040047 </activity>
48
49 <provider android:authorities="com.example.androidx.slice.demos"
50 android:name=".SampleSliceProvider"
Jason Monkdcb5e2f2017-11-15 20:19:43 -050051 android:grantUriPermissions="true">
Jason Monked974952017-11-27 13:48:04 -050052 <intent-filter>
53 <action android:name="androidx.intent.SLICE_ACTION"/>
54 <category android:name="android.intent.category.DEFAULT"/>
55 </intent-filter>
Jason Monkdcb5e2f2017-11-15 20:19:43 -050056 </provider>
Mady Mellordb8aa8c2017-11-08 14:26:17 -080057
58 <receiver
59 android:name=".SliceBroadcastReceiver"
60 android:exported="true" >
61 <intent-filter>
Mady Mellorc1334182017-11-10 15:50:35 -080062 <action android:name="com.example.androidx.slice.action.*"/>
Mady Mellordb8aa8c2017-11-08 14:26:17 -080063 </intent-filter>
64 </receiver>
Jason Monk8a452e92017-10-31 19:21:47 -040065 </application>
66
67</manifest>