Tom O'Neill | 3b8f424 | 2013-08-15 13:25:19 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2013 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <!-- Declare the contents of this Android application. The namespace |
| 18 | attribute brings in the Android platform namespace, and the package |
| 19 | supplies a unique name for the application. When writing your |
| 20 | own application, the package name must be changed from "com.example.*" |
| 21 | to come from a domain that you own or have control over. --> |
| 22 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 23 | package="com.example.android.injector"> |
| 24 | <application android:label="My Setting Activity!"> |
| 25 | <activity android:name="MySettingActivity"> |
| 26 | <intent-filter> |
| 27 | <action android:name="android.intent.action.MAIN"/> |
| 28 | <category android:name="android.intent.category.LAUNCHER"/> |
| 29 | </intent-filter> |
| 30 | </activity> |
| 31 | |
| 32 | <service android:name="com.example.android.injector.MyInjectorService" > |
| 33 | <intent-filter> |
Tom O'Neill | 3e01427 | 2013-08-29 15:40:10 -0700 | [diff] [blame] | 34 | <action android:name="android.location.SettingInjectorService" /> |
Tom O'Neill | 3b8f424 | 2013-08-15 13:25:19 -0700 | [diff] [blame] | 35 | </intent-filter> |
| 36 | |
| 37 | <meta-data |
Tom O'Neill | 3e01427 | 2013-08-29 15:40:10 -0700 | [diff] [blame] | 38 | android:name="android.location.SettingInjectorService" |
Tom O'Neill | 3b8f424 | 2013-08-15 13:25:19 -0700 | [diff] [blame] | 39 | android:resource="@xml/my_injected_location_setting" /> |
| 40 | </service> |
Tom O'Neill | 7db79b3 | 2013-08-23 09:55:34 -0700 | [diff] [blame] | 41 | |
| 42 | <service android:name="com.example.android.injector.DisabledInjectorService" > |
| 43 | <intent-filter> |
Tom O'Neill | 3e01427 | 2013-08-29 15:40:10 -0700 | [diff] [blame] | 44 | <action android:name="android.location.SettingInjectorService" /> |
Tom O'Neill | 7db79b3 | 2013-08-23 09:55:34 -0700 | [diff] [blame] | 45 | </intent-filter> |
| 46 | |
| 47 | <meta-data |
Tom O'Neill | 3e01427 | 2013-08-29 15:40:10 -0700 | [diff] [blame] | 48 | android:name="android.location.SettingInjectorService" |
Tom O'Neill | 7db79b3 | 2013-08-23 09:55:34 -0700 | [diff] [blame] | 49 | android:resource="@xml/disabled_injected_location_setting" /> |
| 50 | </service> |
| 51 | |
Tom O'Neill | f534ba3 | 2013-08-26 10:06:56 -0700 | [diff] [blame] | 52 | <service android:name="com.example.android.injector.FailingInjectorService" > |
| 53 | <intent-filter> |
Tom O'Neill | 3e01427 | 2013-08-29 15:40:10 -0700 | [diff] [blame] | 54 | <action android:name="android.location.SettingInjectorService" /> |
Tom O'Neill | f534ba3 | 2013-08-26 10:06:56 -0700 | [diff] [blame] | 55 | </intent-filter> |
| 56 | |
| 57 | <meta-data |
Tom O'Neill | 3e01427 | 2013-08-29 15:40:10 -0700 | [diff] [blame] | 58 | android:name="android.location.SettingInjectorService" |
Tom O'Neill | f534ba3 | 2013-08-26 10:06:56 -0700 | [diff] [blame] | 59 | android:resource="@xml/failing_injected_location_setting" /> |
| 60 | </service> |
| 61 | |
Tom O'Neill | 7db79b3 | 2013-08-23 09:55:34 -0700 | [diff] [blame] | 62 | <service android:name="com.example.android.injector.SlowInjectorService" > |
| 63 | <intent-filter> |
Tom O'Neill | 3e01427 | 2013-08-29 15:40:10 -0700 | [diff] [blame] | 64 | <action android:name="android.location.SettingInjectorService" /> |
Tom O'Neill | 7db79b3 | 2013-08-23 09:55:34 -0700 | [diff] [blame] | 65 | </intent-filter> |
| 66 | |
| 67 | <meta-data |
Tom O'Neill | 3e01427 | 2013-08-29 15:40:10 -0700 | [diff] [blame] | 68 | android:name="android.location.SettingInjectorService" |
Tom O'Neill | 7db79b3 | 2013-08-23 09:55:34 -0700 | [diff] [blame] | 69 | android:resource="@xml/slow_injected_location_setting" /> |
| 70 | </service> |
| 71 | |
| 72 | <service android:name="com.example.android.injector.UpdatingInjectorService" > |
| 73 | <intent-filter> |
Tom O'Neill | 3e01427 | 2013-08-29 15:40:10 -0700 | [diff] [blame] | 74 | <action android:name="android.location.SettingInjectorService" /> |
Tom O'Neill | 7db79b3 | 2013-08-23 09:55:34 -0700 | [diff] [blame] | 75 | </intent-filter> |
| 76 | |
| 77 | <meta-data |
Tom O'Neill | 3e01427 | 2013-08-29 15:40:10 -0700 | [diff] [blame] | 78 | android:name="android.location.SettingInjectorService" |
Tom O'Neill | 7db79b3 | 2013-08-23 09:55:34 -0700 | [diff] [blame] | 79 | android:resource="@xml/updating_injected_location_setting" /> |
| 80 | </service> |
| 81 | |
Tom O'Neill | 3b8f424 | 2013-08-15 13:25:19 -0700 | [diff] [blame] | 82 | </application> |
| 83 | </manifest> |