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" |
| 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 | |
| 28 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
| 29 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
| 30 | <uses-permission android:name="android.permission.ACCESS_FM_RADIO" /> |
| 31 | <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" /> |
Benson Huang | 2816b93 | 2014-12-24 16:25:46 +0800 | [diff] [blame^] | 32 | <uses-permission android:name="android.permission.BLUETOOTH" /> |
Benson Huang | a8b6afc | 2014-11-20 15:42:26 +0800 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.INTERNET" /> |
| 34 | <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" /> |
| 35 | <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> |
| 36 | <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> |
| 37 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| 38 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
| 39 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 40 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| 41 | |
| 42 | <application |
| 43 | android:hardwareAccelerated="true" |
| 44 | android:icon="@drawable/ic_launcher" |
| 45 | android:label="@string/app_name" > |
| 46 | |
| 47 | <activity |
| 48 | android:name=".FmMainActivity" |
| 49 | android:label="@string/app_name" |
| 50 | android:launchMode="standard" |
| 51 | android:theme="@style/AppTheme" > |
| 52 | <intent-filter> |
| 53 | <action android:name="android.intent.action.MAIN" /> |
| 54 | <category android:name="android.intent.category.LAUNCHER" /> |
| 55 | </intent-filter> |
| 56 | </activity> |
| 57 | <activity |
| 58 | android:name=".FmFavoriteActivity" |
| 59 | android:configChanges="screenSize" |
| 60 | android:label="@string/station_title" |
| 61 | android:launchMode="singleTask" |
| 62 | android:theme="@style/LightTheme" |
| 63 | android:windowSoftInputMode="stateAlwaysHidden" > |
| 64 | </activity> |
| 65 | |
| 66 | <service |
| 67 | android:name=".FmService" |
| 68 | android:exported="false" > |
| 69 | <intent-filter> |
| 70 | <action android:name="com.android.fmradio.IFmRadioService" /> |
| 71 | </intent-filter> |
| 72 | </service> |
| 73 | |
| 74 | <provider |
| 75 | android:name=".FmProvider" |
| 76 | android:authorities="com.android.fmradio" |
| 77 | android:exported="false" > |
| 78 | </provider> |
| 79 | |
| 80 | <activity |
| 81 | android:name=".FmRecordActivity" |
| 82 | android:label="@string/record_title" |
| 83 | android:theme="@style/LightTheme" |
| 84 | android:launchMode="singleTask" > |
| 85 | </activity> |
| 86 | </application> |
| 87 | |
| 88 | </manifest> |