Jason Monk | 8a452e9 | 2017-10-31 19:21:47 -0400 | [diff] [blame] | 1 | <?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 Mellor | db8aa8c | 2017-11-08 14:26:17 -0800 | [diff] [blame] | 23 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> |
Jason Monk | 8a452e9 | 2017-10-31 19:21:47 -0400 | [diff] [blame] | 24 | <uses-permission android:name="android.permission.BIND_SLICE" /> |
| 25 | |
Mady Mellor | db8aa8c | 2017-11-08 14:26:17 -0800 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/> |
Jason Monk | 8a452e9 | 2017-10-31 19:21:47 -0400 | [diff] [blame] | 27 | <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 Monk | ed97495 | 2017-11-27 13:48:04 -0500 | [diff] [blame] | 43 | <intent-filter> |
| 44 | <action android:name="androidx.intent.SLICE_ACTION"/> |
| 45 | <category android:name="android.intent.category.DEFAULT"/> |
| 46 | </intent-filter> |
Jason Monk | 8a452e9 | 2017-10-31 19:21:47 -0400 | [diff] [blame] | 47 | </activity> |
| 48 | |
| 49 | <provider android:authorities="com.example.androidx.slice.demos" |
| 50 | android:name=".SampleSliceProvider" |
Jason Monk | dcb5e2f | 2017-11-15 20:19:43 -0500 | [diff] [blame] | 51 | android:grantUriPermissions="true"> |
Jason Monk | ed97495 | 2017-11-27 13:48:04 -0500 | [diff] [blame] | 52 | <intent-filter> |
| 53 | <action android:name="androidx.intent.SLICE_ACTION"/> |
| 54 | <category android:name="android.intent.category.DEFAULT"/> |
| 55 | </intent-filter> |
Jason Monk | dcb5e2f | 2017-11-15 20:19:43 -0500 | [diff] [blame] | 56 | </provider> |
Mady Mellor | db8aa8c | 2017-11-08 14:26:17 -0800 | [diff] [blame] | 57 | |
| 58 | <receiver |
| 59 | android:name=".SliceBroadcastReceiver" |
| 60 | android:exported="true" > |
| 61 | <intent-filter> |
Mady Mellor | c133418 | 2017-11-10 15:50:35 -0800 | [diff] [blame] | 62 | <action android:name="com.example.androidx.slice.action.*"/> |
Mady Mellor | db8aa8c | 2017-11-08 14:26:17 -0800 | [diff] [blame] | 63 | </intent-filter> |
| 64 | </receiver> |
Jason Monk | 8a452e9 | 2017-10-31 19:21:47 -0400 | [diff] [blame] | 65 | </application> |
| 66 | |
| 67 | </manifest> |