blob: 5fef79ddce96abbdd4183fd7b505dca49c889aad [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
Michael Wcea975b2023-04-05 16:44:31 -040026 android:minSdkVersion="26"
27 android:targetSdkVersion="30"
Alex Klyubin8b82a302015-05-15 09:35:48 -070028 android:usesCleartextTraffic="false" />
Benson Huanga8b6afc2014-11-20 15:42:26 +080029
nift471aa6242023-07-20 21:16:10 +020030 <uses-permission android:name="android.permission.ACCESS_BROADCAST_RADIO" />
Benson Huanga8b6afc2014-11-20 15:42:26 +080031 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
32 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
Benson Huanga8b6afc2014-11-20 15:42:26 +080033 <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
Benson Huang2816b932014-12-24 16:25:46 +080034 <uses-permission android:name="android.permission.BLUETOOTH" />
nift471aa6242023-07-20 21:16:10 +020035 <uses-permission android:name="android.permission.CAPTURE_AUDIO_OUTPUT" />
36 <uses-permission android:name="android.permission.CAPTURE_TUNER_AUDIO_INPUT" />
37 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
Benson Huanga8b6afc2014-11-20 15:42:26 +080038 <uses-permission android:name="android.permission.INTERNET" />
39 <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" />
40 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
41 <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
42 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
43 <uses-permission android:name="android.permission.RECORD_AUDIO" />
44 <uses-permission android:name="android.permission.WAKE_LOCK" />
nift425b8ce22023-05-11 23:21:40 +020045 <uses-permission android:name="com.android.fmradio.recordings.permission.PLAY_RECORDING" />
Benson Huanga8b6afc2014-11-20 15:42:26 +080046
47 <application
48 android:hardwareAccelerated="true"
Asher Simonds8be8e012018-02-12 10:27:14 +010049 android:icon="@mipmap/ic_launcher"
Benson Huanga8b6afc2014-11-20 15:42:26 +080050 android:label="@string/app_name" >
51
52 <activity
53 android:name=".FmMainActivity"
54 android:label="@string/app_name"
55 android:launchMode="standard"
Alex Klyubin02804a42015-04-02 13:21:52 -070056 android:theme="@style/AppTheme"
Michael Bestas851fc7e2021-10-11 18:50:18 +030057 android:exported="true"
Alex Klyubin02804a42015-04-02 13:21:52 -070058 android:usesCleartextTraffic="false" >
Benson Huanga8b6afc2014-11-20 15:42:26 +080059 <intent-filter>
60 <action android:name="android.intent.action.MAIN" />
61 <category android:name="android.intent.category.LAUNCHER" />
62 </intent-filter>
63 </activity>
64 <activity
65 android:name=".FmFavoriteActivity"
66 android:configChanges="screenSize"
67 android:label="@string/station_title"
68 android:launchMode="singleTask"
69 android:theme="@style/LightTheme"
70 android:windowSoftInputMode="stateAlwaysHidden" >
71 </activity>
72
73 <service
74 android:name=".FmService"
75 android:exported="false" >
76 <intent-filter>
77 <action android:name="com.android.fmradio.IFmRadioService" />
78 </intent-filter>
79 </service>
80
81 <provider
82 android:name=".FmProvider"
83 android:authorities="com.android.fmradio"
84 android:exported="false" >
85 </provider>
86
87 <activity
88 android:name=".FmRecordActivity"
89 android:label="@string/record_title"
90 android:theme="@style/LightTheme"
91 android:launchMode="singleTask" >
92 </activity>
93 </application>
94
95</manifest>