blob: 49c90c1dfcf9f8d8b1ed9be2f80236597fca60cc [file] [log] [blame]
Benson Huanga8b6afc2014-11-20 15:42:26 +08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2014 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.android.fmradio"
Venkateshwarlu Domakondaacaf0ec2015-07-20 20:28:49 +053020 android:sharedUserId="android.uid.system"
Benson Huanga8b6afc2014-11-20 15:42:26 +080021 android:versionCode="2"
22 android:versionName="2.0" >
23
24 <!-- FM uses AudioPatch which is new in sdk 21 -->
25 <uses-sdk
26 android:minSdkVersion="21"
Alex Klyubin8b82a302015-05-15 09:35:48 -070027 android:targetSdkVersion="21"
28 android:usesCleartextTraffic="false" />
Benson Huanga8b6afc2014-11-20 15:42:26 +080029
30 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
31 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
32 <uses-permission android:name="android.permission.ACCESS_FM_RADIO" />
33 <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
Benson Huang2816b932014-12-24 16:25:46 +080034 <uses-permission android:name="android.permission.BLUETOOTH" />
Benson Huanga8b6afc2014-11-20 15:42:26 +080035 <uses-permission android:name="android.permission.INTERNET" />
36 <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" />
37 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
38 <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
39 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
40 <uses-permission android:name="android.permission.RECORD_AUDIO" />
41 <uses-permission android:name="android.permission.WAKE_LOCK" />
42 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
43
44 <application
45 android:hardwareAccelerated="true"
46 android:icon="@drawable/ic_launcher"
47 android:label="@string/app_name" >
48
49 <activity
50 android:name=".FmMainActivity"
51 android:label="@string/app_name"
52 android:launchMode="standard"
Alex Klyubin02804a42015-04-02 13:21:52 -070053 android:theme="@style/AppTheme"
54 android:usesCleartextTraffic="false" >
Benson Huanga8b6afc2014-11-20 15:42:26 +080055 <intent-filter>
56 <action android:name="android.intent.action.MAIN" />
57 <category android:name="android.intent.category.LAUNCHER" />
58 </intent-filter>
59 </activity>
60 <activity
61 android:name=".FmFavoriteActivity"
62 android:configChanges="screenSize"
63 android:label="@string/station_title"
64 android:launchMode="singleTask"
65 android:theme="@style/LightTheme"
66 android:windowSoftInputMode="stateAlwaysHidden" >
67 </activity>
68
69 <service
70 android:name=".FmService"
71 android:exported="false" >
72 <intent-filter>
73 <action android:name="com.android.fmradio.IFmRadioService" />
74 </intent-filter>
75 </service>
76
77 <provider
78 android:name=".FmProvider"
79 android:authorities="com.android.fmradio"
80 android:exported="false" >
81 </provider>
82
83 <activity
84 android:name=".FmRecordActivity"
85 android:label="@string/record_title"
86 android:theme="@style/LightTheme"
87 android:launchMode="singleTask" >
88 </activity>
89 </application>
90
91</manifest>