blob: 9705135d5920ecf2f9ec1f34fe3c6bd0fa15a20b [file] [log] [blame]
Alexander Afanasyevddaa8312015-01-27 16:33:45 -08001<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 package="net.named_data.nfd" >
4
Ivan Yeodb0052d2015-02-08 17:27:04 -08005 <uses-permission android:name="android.permission.INTERNET" />
Alexander Afanasyeva8d404b2016-11-05 10:07:08 -06006 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
7 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
Haitao Zhang32232f52017-03-12 01:27:15 -08008 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
9 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
Alexander Afanasyev14fd3e22018-07-04 14:20:53 -040010 <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
Haitao Zhang32232f52017-03-12 01:27:15 -080011 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
Lei Pic7ddbe52016-11-21 00:38:51 -080012 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Ju Pand1cdade2018-11-18 23:22:39 -070013 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
Ivan Yeodb0052d2015-02-08 17:27:04 -080014
Alexander Afanasyevddaa8312015-01-27 16:33:45 -080015 <application
16 android:allowBackup="true"
Alexander Afanasyev3b249ec2015-09-10 23:32:49 -070017 android:icon="@drawable/nfd_app"
Alexander Afanasyevddaa8312015-01-27 16:33:45 -080018 android:label="@string/app_name"
19 android:theme="@style/AppTheme" >
Ivan Yeodb0052d2015-02-08 17:27:04 -080020
Alexander Afanasyevddaa8312015-01-27 16:33:45 -080021 <activity
Alexander Afanasyev937d3f42015-03-11 13:58:59 -070022 android:name=".MainActivity"
Alexander Afanasyevddaa8312015-01-27 16:33:45 -080023 android:label="@string/app_name" >
Ivan Yeo432488f2015-02-02 19:35:23 -080024 <intent-filter>
25 <action android:name="android.intent.action.MAIN" />
26 <category android:name="android.intent.category.LAUNCHER" />
27 </intent-filter>
Alexander Afanasyevddaa8312015-01-27 16:33:45 -080028 </activity>
Alexander Afanasyevddaa8312015-01-27 16:33:45 -080029
Ivan Yeodb0052d2015-02-08 17:27:04 -080030 <service
Ivan Yeo6296dce2015-02-10 23:29:43 -080031 android:name=".service.NfdService"
32 android:process="net.named_data.nfd.service.NfdService"
Ivan Yeodb0052d2015-02-08 17:27:04 -080033 android:icon="@drawable/ic_launcher"
34 android:label="@string/service_name"
35 android:exported="true" >
36 <intent-filter>
Ivan Yeo6296dce2015-02-10 23:29:43 -080037 <action android:name="net.named_data.nfd.START_NFD_SERVICE" />
Ivan Yeodb0052d2015-02-08 17:27:04 -080038 </intent-filter>
39 </service>
40
Lei Pic7ddbe52016-11-21 00:38:51 -080041 <receiver
42 android:name="net.named_data.nfd.utils.ConnectivityChangeReceiver"
43 android:label="ConnectivityChangeReceiver" >
44 <intent-filter>
45 <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
46 <action android:name="android.net.wifi.WIFI_STATE_CHANGED" />
47 </intent-filter>
48 </receiver>
49
Haitao Zhang32232f52017-03-12 01:27:15 -080050 <service android:name="net.named_data.nfd.wifidirect.service.WDBroadcastReceiverService"/>
Ivan Yeodb0052d2015-02-08 17:27:04 -080051 </application>
Alexander Afanasyevddaa8312015-01-27 16:33:45 -080052
53</manifest>