[go: nahoru, domu]

blob: aa26fb769256f851eab5344c028a150a7d672e19 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Declare the contents of this Android application. The namespace
attribute brings in the Android platform namespace, and the package
supplies a unique name for the application. When writing your
own application, the package name must be changed from "com.example.*"
to come from a domain that you own or have control over. -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.BLUETOOTH"
android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<application
android:hardwareAccelerated="true"
android:icon="@drawable/app_sample_code"
android:label="@string/media_router_app_name"
android:supportsRtl="true"
android:theme="@style/Theme.SampleMediaRouter">
<activity
android:name=".activities.MainActivity"
android:configChanges="orientation|screenSize"
android:exported="true"
android:label="@string/main_activity_label">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.media.action.TRANSFER_MEDIA"/>
<category android:name="com.example.androidx.SAMPLE_CODE" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".activities.SettingsActivity"
android:configChanges="orientation|screenSize"
android:exported="true"
android:label="@string/settings_activity_label">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<activity
android:name=".activities.AddEditRouteActivity"
android:configChanges="orientation|screenSize"
android:exported="false"
android:label="@string/add_edit_route_activity_label">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.example.androidx.SAMPLE_CODE" />
</intent-filter>
</activity>
<activity
android:name=".activities.RouteListingPreferenceActivity"
android:configChanges="orientation|screenSize"
android:exported="false"
android:label="Route Listing Preference">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.example.androidx.SAMPLE_CODE" />
</intent-filter>
</activity>
<activity android:name=".activities.systemrouting.SystemRoutingActivity"
android:exported="false" />
<receiver android:name="androidx.mediarouter.media.MediaTransferReceiver"
android:exported="true" />
<receiver android:name="androidx.mediarouter.media.SystemRoutingUsingMediaRouter2Receiver"
android:exported="false" />
<service
android:name=".services.SampleMediaRouteProviderService"
android:exported="true"
android:label="@string/sample_media_route_provider_service"
android:process=":mrp">
<intent-filter>
<action android:name="android.media.MediaRouteProviderService" />
<action android:name="android.media.MediaRoute2ProviderService" />
</intent-filter>
</service>
<service
android:name=".services.SampleDynamicGroupMediaRouteProviderService"
android:label="@string/sample_media_route_provider_service"
android:exported="true">
<intent-filter>
<action android:name="android.media.MediaRouteProviderService" />
<action android:name="android.media.MediaRoute2ProviderService" />
<action android:name="com.example.androidx.mediarouting.BIND_LOCAL" />
</intent-filter>
</service>
</application>
<!-- The smallest screen this app works on is a phone. The app will
scale its UI to larger screens but doesn't make good use of them
so allow the compatibility mode button to be shown (mostly because
this is just convenient for testing). -->
<supports-screens
android:compatibleWidthLimitDp="480"
android:requiresSmallestWidthDp="320" />
<!-- Permission for SYSTEM_ALERT_WINDOW is only required for emulating
remote display using system alert window. -->
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<!-- Permission for READ_EXTERNAL_STORAGE is explicitly required for
reading images from the media store from API v19+. -->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<!-- Permission for INTERNET is required for streaming video content
from the web, it's not required otherwise. -->
<uses-permission android:name="android.permission.INTERNET" />
</manifest>