• 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.google.android.test.cameraprewarm">
20    <application android:label="@string/activity_title">
21
22        <activity android:name=".CameraActivity"
23                android:theme="@android:style/Theme.NoTitleBar">
24            <intent-filter>
25                <action android:name="android.media.action.STILL_IMAGE_CAMERA" />
26                <category android:name="android.intent.category.DEFAULT" />
27            </intent-filter>
28            <meta-data
29                android:name="android.media.still_image_camera_preview_service"
30                android:value="com.google.android.test.cameraprewarm.PrewarmService">
31            </meta-data>
32        </activity>
33
34        <activity android:name=".SecureCameraActivity"
35                android:theme="@android:style/Theme.NoTitleBar">
36            <intent-filter>
37                <action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" />
38                <category android:name="android.intent.category.DEFAULT" />
39            </intent-filter>
40            <meta-data
41                android:name="android.media.still_image_camera_preview_service"
42                android:value="com.google.android.test.cameraprewarm.PrewarmService">
43            </meta-data>
44        </activity>
45
46        <service android:name=".PrewarmService"
47            android:exported="true">
48        </service>
49
50    </application>
51</manifest>
52