1<?xml version="1.0" encoding="utf-8"?> 2<manifest xmlns:android="http://schemas.android.com/apk/res/android" 3 package="com.android"> 4 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> 5 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> 6 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> 7 <uses-permission android:name="android.permission.READ_WIFI_CREDENTIAL" /> 8 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 9 <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" /> 10 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 11 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> 12 <uses-permission android:name="android.permission.INTERNET" /> 13 14 <application 15 android:enabled="false" 16 android:allowBackup="true" 17 android:icon="@mipmap/ic_launcher" 18 android:label="@string/app_name" 19 android:persistent="true" 20 android:supportsRtl="true"> 21 <activity android:name=".MainActivity"> 22 <intent-filter> 23 <action android:name="android.intent.action.MAIN" /> 24 <category android:name="android.intent.category.LAUNCHER" /> 25 </intent-filter> 26 <intent-filter> 27 <action android:name="com.android.hotspot2.OSU_NOTIFICATION" /> 28 <category android:name="android.intent.category.DEFAULT" /> 29 </intent-filter> 30 </activity> 31 <receiver android:name="com.android.MainActivity$WifiReceiver" > 32 <intent-filter> 33 <action android:name="android.intent.action.BOOT_COMPLETED" android:enabled="true"/> 34 </intent-filter> 35 <intent-filter> 36 <action android:name="android.net.wifi.SCAN_RESULTS" android:enabled="true"/> 37 </intent-filter> 38 <intent-filter> 39 <action android:name="android.net.wifi.PASSPOINT_WNM_FRAME_RECEIVED" android:enabled="true"/> 40 </intent-filter> 41 <intent-filter> 42 <action android:name="android.net.wifi.PASSPOINT_ICON_RECEIVED" android:enabled="true"/> 43 </intent-filter> 44 <intent-filter> 45 <action android:name="android.net.wifi.CONFIGURED_NETWORKS_CHANGE" android:enabled="true"/> 46 </intent-filter> 47 <intent-filter> 48 <action android:name="android.net.wifi.WIFI_STATE_CHANGED" android:enabled="true"/> 49 </intent-filter> 50 <intent-filter> 51 <action android:name="android.net.wifi.STATE_CHANGE" android:enabled="true"/> 52 </intent-filter> 53 </receiver> 54 <service android:name="com.android.MainActivity$OSUService" /> 55 </application> 56 57</manifest> 58