• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2018 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8       http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<manifest
18        xmlns:android="http://schemas.android.com/apk/res/android"
19        package="com.android.car.linkviewer">
20    <application
21            android:allowBackup="true"
22            android:icon="@drawable/ic_app_icon"
23            android:label="@string/app_name"
24            android:supportsRtl="true"
25            android:theme="@style/AppTheme">
26        <activity android:name=".LinkViewerActivity">
27            <intent-filter>
28                <action android:name="android.intent.action.MAIN"/>
29            </intent-filter>
30            <!-- Catch intents which do not specify a MIME type -->
31            <intent-filter>
32                <action android:name="android.intent.action.VIEW" />
33                <category android:name="android.intent.category.DEFAULT" />
34                <category android:name="android.intent.category.BROWSABLE" />
35                <data android:scheme="http" />
36                <data android:scheme="https" />
37            </intent-filter>
38            <!-- Catch intents which do specify a MIME type -->
39            <intent-filter>
40                <action android:name="android.intent.action.VIEW" />
41                <category android:name="android.intent.category.DEFAULT" />
42                <category android:name="android.intent.category.BROWSABLE" />
43                <data android:scheme="http" />
44                <data android:scheme="https" />
45                <data android:mimeType="text/html"/>
46                <data android:mimeType="text/plain"/>
47                <data android:mimeType="application/xhtml+xml"/>
48                <data android:mimeType="application/vnd.wap.xhtml+xml"/> <!-- XHTML MP -->
49            </intent-filter>
50        </activity>
51    </application>
52</manifest>
53