<?xml version="1.0" encoding="utf-8"?> <!-- /* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.cellbroadcastreceiver"> <original-package android:name="com.android.cellbroadcastreceiver" /> <uses-permission android:name="android.permission.RECEIVE_SMS" /> <uses-permission android:name="android.permission.RECEIVE_EMERGENCY_BROADCAST" /> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="android.permission.READ_PHONE_STATE" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission android:name="android.permission.DISABLE_KEYGUARD" /> <uses-permission android:name="android.permission.VIBRATE" /> <application android:name="CellBroadcastReceiverApp" android:label="@string/app_label" android:icon="@drawable/ic_launcher_cbreceiver"> <service android:name="CellBroadcastAlertAudio" android:exported="false" /> <service android:name="CellBroadcastAlertService" android:exported="false" /> <service android:name="CellBroadcastConfigService" android:exported="false" /> <service android:name="CellBroadcastDatabaseService" android:exported="false" /> <activity android:name="CellBroadcastListActivity" android:label="@string/app_label" android:configChanges="orientation|keyboardHidden" android:launchMode="singleTop"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity> <activity android:name="CellBroadcastSettings" android:label="@string/sms_cb_settings" android:exported="true" /> <!-- Require sender permissions to prevent SMS spoofing --> <receiver android:name="PrivilegedCellBroadcastReceiver" android:permission="android.permission.BROADCAST_SMS"> <intent-filter> <action android:name="android.provider.Telephony.SMS_EMERGENCY_CB_RECEIVED" /> </intent-filter> <intent-filter> <action android:name="android.provider.Telephony.SMS_CB_RECEIVED" /> </intent-filter> </receiver> <receiver android:name="CellBroadcastReceiver"> <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.AIRPLANE_MODE" /> </intent-filter> </receiver> </application> </manifest>