• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?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"
20    android:versionCode="2"
21    android:versionName="2.0" >
22
23    <!-- FM uses AudioPatch which is new in sdk 21 -->
24    <uses-sdk
25        android:minSdkVersion="21"
26        android:targetSdkVersion="21"
27        android:usesCleartextTraffic="false" />
28
29    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
30    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
31    <uses-permission android:name="android.permission.ACCESS_FM_RADIO" />
32    <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
33    <uses-permission android:name="android.permission.BLUETOOTH" />
34    <uses-permission android:name="android.permission.INTERNET" />
35    <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" />
36    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
37    <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
38    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
39    <uses-permission android:name="android.permission.RECORD_AUDIO" />
40    <uses-permission android:name="android.permission.WAKE_LOCK" />
41    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
42
43    <application
44        android:hardwareAccelerated="true"
45        android:icon="@drawable/ic_launcher"
46        android:label="@string/app_name" >
47
48        <activity
49            android:name=".FmMainActivity"
50            android:label="@string/app_name"
51            android:launchMode="standard"
52            android:theme="@style/AppTheme"
53            android:usesCleartextTraffic="false" >
54            <intent-filter>
55                <action android:name="android.intent.action.MAIN" />
56                <category android:name="android.intent.category.LAUNCHER" />
57            </intent-filter>
58        </activity>
59        <activity
60            android:name=".FmFavoriteActivity"
61            android:configChanges="screenSize"
62            android:label="@string/station_title"
63            android:launchMode="singleTask"
64            android:theme="@style/LightTheme"
65            android:windowSoftInputMode="stateAlwaysHidden" >
66        </activity>
67
68        <service
69            android:name=".FmService"
70            android:exported="false" >
71            <intent-filter>
72                <action android:name="com.android.fmradio.IFmRadioService" />
73            </intent-filter>
74        </service>
75
76        <provider
77            android:name=".FmProvider"
78            android:authorities="com.android.fmradio"
79            android:exported="false" >
80        </provider>
81
82        <activity
83            android:name=".FmRecordActivity"
84            android:label="@string/record_title"
85            android:theme="@style/LightTheme"
86            android:launchMode="singleTask" >
87        </activity>
88    </application>
89
90</manifest>
91