Benson Huang | a8b6afc | 2014-11-20 15:42:26 +0800 | [diff] [blame] | 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" |
Venkateshwarlu Domakonda | acaf0ec | 2015-07-20 20:28:49 +0530 | [diff] [blame] | 20 | android:sharedUserId="android.uid.system" |
Benson Huang | a8b6afc | 2014-11-20 15:42:26 +0800 | [diff] [blame] | 21 | android:versionCode="2" |
| 22 | android:versionName="2.0" > |
| 23 | |
| 24 | <!-- FM uses AudioPatch which is new in sdk 21 --> |
| 25 | <uses-sdk |
Michael W | cea975b | 2023-04-05 16:44:31 -0400 | [diff] [blame] | 26 | android:minSdkVersion="26" |
| 27 | android:targetSdkVersion="30" |
Alex Klyubin | 8b82a30 | 2015-05-15 09:35:48 -0700 | [diff] [blame] | 28 | android:usesCleartextTraffic="false" /> |
Benson Huang | a8b6afc | 2014-11-20 15:42:26 +0800 | [diff] [blame] | 29 | |
nift4 | 71aa624 | 2023-07-20 21:16:10 +0200 | [diff] [blame^] | 30 | <uses-permission android:name="android.permission.ACCESS_BROADCAST_RADIO" /> |
Benson Huang | a8b6afc | 2014-11-20 15:42:26 +0800 | [diff] [blame] | 31 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| 32 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
Benson Huang | a8b6afc | 2014-11-20 15:42:26 +0800 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" /> |
Benson Huang | 2816b93 | 2014-12-24 16:25:46 +0800 | [diff] [blame] | 34 | <uses-permission android:name="android.permission.BLUETOOTH" /> |
nift4 | 71aa624 | 2023-07-20 21:16:10 +0200 | [diff] [blame^] | 35 | <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 Huang | a8b6afc | 2014-11-20 15:42:26 +0800 | [diff] [blame] | 38 | <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" /> |
| 45 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
nift4 | 25b8ce2 | 2023-05-11 23:21:40 +0200 | [diff] [blame] | 46 | <uses-permission android:name="com.android.fmradio.recordings.permission.PLAY_RECORDING" /> |
Benson Huang | a8b6afc | 2014-11-20 15:42:26 +0800 | [diff] [blame] | 47 | |
| 48 | <application |
| 49 | android:hardwareAccelerated="true" |
Asher Simonds | 8be8e01 | 2018-02-12 10:27:14 +0100 | [diff] [blame] | 50 | android:icon="@mipmap/ic_launcher" |
Benson Huang | a8b6afc | 2014-11-20 15:42:26 +0800 | [diff] [blame] | 51 | android:label="@string/app_name" > |
| 52 | |
| 53 | <activity |
| 54 | android:name=".FmMainActivity" |
| 55 | android:label="@string/app_name" |
| 56 | android:launchMode="standard" |
Alex Klyubin | 02804a4 | 2015-04-02 13:21:52 -0700 | [diff] [blame] | 57 | android:theme="@style/AppTheme" |
Michael Bestas | 851fc7e | 2021-10-11 18:50:18 +0300 | [diff] [blame] | 58 | android:exported="true" |
Alex Klyubin | 02804a4 | 2015-04-02 13:21:52 -0700 | [diff] [blame] | 59 | android:usesCleartextTraffic="false" > |
Benson Huang | a8b6afc | 2014-11-20 15:42:26 +0800 | [diff] [blame] | 60 | <intent-filter> |
| 61 | <action android:name="android.intent.action.MAIN" /> |
| 62 | <category android:name="android.intent.category.LAUNCHER" /> |
| 63 | </intent-filter> |
| 64 | </activity> |
| 65 | <activity |
| 66 | android:name=".FmFavoriteActivity" |
| 67 | android:configChanges="screenSize" |
| 68 | android:label="@string/station_title" |
| 69 | android:launchMode="singleTask" |
| 70 | android:theme="@style/LightTheme" |
| 71 | android:windowSoftInputMode="stateAlwaysHidden" > |
| 72 | </activity> |
| 73 | |
| 74 | <service |
| 75 | android:name=".FmService" |
| 76 | android:exported="false" > |
| 77 | <intent-filter> |
| 78 | <action android:name="com.android.fmradio.IFmRadioService" /> |
| 79 | </intent-filter> |
| 80 | </service> |
| 81 | |
| 82 | <provider |
| 83 | android:name=".FmProvider" |
| 84 | android:authorities="com.android.fmradio" |
| 85 | android:exported="false" > |
| 86 | </provider> |
| 87 | |
| 88 | <activity |
| 89 | android:name=".FmRecordActivity" |
| 90 | android:label="@string/record_title" |
| 91 | android:theme="@style/LightTheme" |
| 92 | android:launchMode="singleTask" > |
| 93 | </activity> |
| 94 | </application> |
| 95 | |
| 96 | </manifest> |