|
4 | 4 |
|
5 | 5 | <uses-sdk
|
6 | 6 | android:minSdkVersion="21"
|
7 |
| - android:targetSdkVersion="33" |
| 7 | + android:targetSdkVersion="34" |
8 | 8 | tools:overrideLibrary="thecollectiveweb.com.tcwhois"
|
9 | 9 | tools:ignore="GradleOverrides" />
|
10 | 10 |
|
|
15 | 15 | <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
|
16 | 16 | <uses-permission android:name="android.permission.INTERNET" />
|
17 | 17 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
| 18 | + <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" /> |
| 19 | + <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
18 | 20 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
19 | 21 |
|
20 | 22 | <application
|
| 23 | + android:name=".App" |
21 | 24 | android:icon="@mipmap/ic_launcher"
|
22 | 25 | android:label="@string/app_name"
|
23 | 26 | android:theme="@style/DarkTheme"
|
24 | 27 | android:largeHeap="true"
|
25 | 28 | android:usesCleartextTraffic="true"
|
26 |
| - tools:targetApi="tiramisu" |
27 |
| - android:localeConfig="@xml/locale_config"> |
| 29 | + android:localeConfig="@xml/locale_config" |
| 30 | + tools:targetApi="tiramisu"> |
28 | 31 |
|
29 | 32 | <meta-data android:name="android.webkit.WebView.MetricsOptOut"
|
30 | 33 | android:value="true" />
|
31 | 34 |
|
32 | 35 | <activity
|
33 |
| - android:name="com.truemlgpro.wifiinfo.MainActivity" |
34 |
| - android:screenOrientation="fullSensor" |
| 36 | + android:name="com.truemlgpro.wifiinfo.ui.MainActivity" |
| 37 | + android:screenOrientation="unspecified" |
35 | 38 | android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
|
36 |
| - android:theme="@style/SplashDark" |
| 39 | + android:theme="@style/Theme.App.Starting" |
37 | 40 | android:exported="true">
|
38 | 41 | <intent-filter>
|
39 | 42 | <action android:name="android.intent.action.MAIN" />
|
|
44 | 47 | </intent-filter>
|
45 | 48 | </activity>
|
46 | 49 | <activity
|
47 |
| - android:name="com.truemlgpro.wifiinfo.SupportersActivity" |
| 50 | + android:name="com.truemlgpro.wifiinfo.ui.SupportersActivity" |
48 | 51 | android:label="Supporters"
|
49 |
| - android:screenOrientation="fullSensor" |
| 52 | + android:screenOrientation="unspecified" |
50 | 53 | android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
|
51 |
| - android:parentActivityName=".SettingsActivity"> |
| 54 | + android:parentActivityName=".ui.SettingsActivity"> |
52 | 55 | </activity>
|
53 | 56 | <activity
|
54 |
| - android:name="com.truemlgpro.wifiinfo.ToolsActivity" |
| 57 | + android:name="com.truemlgpro.wifiinfo.ui.ToolsActivity" |
55 | 58 | android:label="Tools"
|
56 |
| - android:screenOrientation="fullSensor" |
| 59 | + android:screenOrientation="unspecified" |
57 | 60 | android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
|
58 |
| - android:parentActivityName=".MainActivity"> |
| 61 | + android:parentActivityName=".ui.MainActivity"> |
59 | 62 | </activity>
|
60 | 63 | <activity
|
61 |
| - android:name="com.truemlgpro.wifiinfo.SettingsActivity" |
| 64 | + android:name="com.truemlgpro.wifiinfo.ui.SettingsActivity" |
62 | 65 | android:label="Settings"
|
63 |
| - android:screenOrientation="fullSensor" |
| 66 | + android:screenOrientation="unspecified" |
64 | 67 | android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
|
65 |
| - android:parentActivityName=".MainActivity"> |
| 68 | + android:parentActivityName=".ui.MainActivity"> |
66 | 69 | <meta-data
|
67 | 70 | android:name="android.support.PARENT_ACTIVITY"
|
68 |
| - android:value="com.truemlgpro.wifiinfo.MainActivity" /> |
| 71 | + android:value="com.truemlgpro.wifiinfo.ui.MainActivity" /> |
69 | 72 | </activity>
|
70 | 73 | <activity
|
71 |
| - android:name="com.truemlgpro.wifiinfo.CellularDataIPActivity" |
| 74 | + android:name="com.truemlgpro.wifiinfo.ui.CellularDataIPActivity" |
72 | 75 | android:label="Cellular Data IP"
|
73 |
| - android:screenOrientation="fullSensor" |
| 76 | + android:screenOrientation="unspecified" |
74 | 77 | android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
|
75 |
| - android:parentActivityName=".ToolsActivity"> |
| 78 | + android:parentActivityName=".ui.ToolsActivity"> |
76 | 79 | </activity>
|
77 | 80 | <activity
|
78 |
| - android:name="com.truemlgpro.wifiinfo.RouterSetupActivity" |
| 81 | + android:name="com.truemlgpro.wifiinfo.ui.RouterSetupActivity" |
79 | 82 | android:label="Router Setup"
|
80 |
| - android:screenOrientation="fullSensor" |
| 83 | + android:screenOrientation="unspecified" |
81 | 84 | android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
|
82 |
| - android:parentActivityName=".ToolsActivity"> |
| 85 | + android:parentActivityName=".ui.ToolsActivity"> |
83 | 86 | </activity>
|
84 | 87 | <activity
|
85 |
| - android:name="com.truemlgpro.wifiinfo.PingToolActivity" |
| 88 | + android:name="com.truemlgpro.wifiinfo.ui.PingToolActivity" |
86 | 89 | android:label="Ping Tool"
|
87 |
| - android:screenOrientation="fullSensor" |
| 90 | + android:screenOrientation="unspecified" |
88 | 91 | android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
|
89 |
| - android:parentActivityName=".ToolsActivity"> |
| 92 | + android:parentActivityName=".ui.ToolsActivity"> |
90 | 93 | </activity>
|
91 | 94 | <activity
|
92 |
| - android:name="com.truemlgpro.wifiinfo.SubnetScannerActivity" |
| 95 | + android:name="com.truemlgpro.wifiinfo.ui.SubnetScannerActivity" |
93 | 96 | android:label="Subnet Scanner"
|
94 |
| - android:screenOrientation="fullSensor" |
| 97 | + android:screenOrientation="unspecified" |
95 | 98 | android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
|
96 |
| - android:parentActivityName=".ToolsActivity"> |
| 99 | + android:parentActivityName=".ui.ToolsActivity"> |
97 | 100 | </activity>
|
98 | 101 | <activity
|
99 |
| - android:name="com.truemlgpro.wifiinfo.PortScannerActivity" |
| 102 | + android:name="com.truemlgpro.wifiinfo.ui.PortScannerActivity" |
100 | 103 | android:label="Port Scanner"
|
101 |
| - android:screenOrientation="fullSensor" |
| 104 | + android:screenOrientation="unspecified" |
102 | 105 | android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
|
103 |
| - android:parentActivityName=".ToolsActivity"> |
| 106 | + android:parentActivityName=".ui.ToolsActivity"> |
104 | 107 | </activity>
|
105 | 108 | <activity
|
106 |
| - android:name="com.truemlgpro.wifiinfo.WhoIsToolActivity" |
| 109 | + android:name="com.truemlgpro.wifiinfo.ui.WhoIsToolActivity" |
107 | 110 | android:label="Whois Tool"
|
108 |
| - android:screenOrientation="fullSensor" |
| 111 | + android:screenOrientation="unspecified" |
109 | 112 | android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
|
110 |
| - android:parentActivityName=".ToolsActivity"> |
| 113 | + android:parentActivityName=".ui.ToolsActivity"> |
111 | 114 | </activity>
|
112 | 115 | <activity
|
113 |
| - android:name="com.truemlgpro.wifiinfo.DNSLookupActivity" |
| 116 | + android:name="com.truemlgpro.wifiinfo.ui.DNSLookupActivity" |
114 | 117 | android:label="DNS Lookup"
|
115 |
| - android:screenOrientation="fullSensor" |
| 118 | + android:screenOrientation="unspecified" |
116 | 119 | android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize"
|
117 |
| - android:parentActivityName=".ToolsActivity"> |
| 120 | + android:parentActivityName=".ui.ToolsActivity"> |
118 | 121 | </activity>
|
119 | 122 |
|
120 | 123 | <service
|
|
127 | 130 | </service>
|
128 | 131 |
|
129 | 132 | <service
|
130 |
| - android:name=".ConnectionStateService" |
131 |
| - android:enabled="true"> |
| 133 | + android:name=".services.ConnectionStateService" |
| 134 | + android:enabled="true" |
| 135 | + android:foregroundServiceType="specialUse"> |
| 136 | + <property android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" |
| 137 | + android:value="This service listens to the state of the Wi-Fi connection and manages the lifecycle of the NotificationService based on the changes of this state. When the user disconnects from a Wi-Fi network, this service stops the NotificationService to avoid unnecessary battery drain. Likewise, when the user reconnects to a Wi-Fi network, this service restarts the NotificationService." /> |
132 | 138 | </service>
|
133 | 139 |
|
134 | 140 | <service
|
135 |
| - android:name=".NotificationService" |
136 |
| - android:enabled="true"> |
| 141 | + android:name=".services.NotificationService" |
| 142 | + android:enabled="true" |
| 143 | + android:foregroundServiceType="specialUse"> |
| 144 | + <property android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" |
| 145 | + android:value="This service provides real-time updates of the current Wi-Fi connection information such as SSID, BSSID, RSSI, etc., even when the application is not running or is in the background." /> |
137 | 146 | </service>
|
138 | 147 |
|
139 | 148 | <service
|
140 |
| - android:name=".QSTileService" |
| 149 | + android:name=".services.QSTileService" |
141 | 150 | android:label="IP Address"
|
142 | 151 | android:icon="@drawable/wifi_24px"
|
143 | 152 | android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
|
|
147 | 156 | </intent-filter>
|
148 | 157 | </service>
|
149 | 158 |
|
150 |
| - <receiver android:name=".BootReceiver" |
| 159 | + <receiver android:name=".receivers.BootReceiver" |
151 | 160 | android:exported="true">
|
152 | 161 | <intent-filter>
|
153 | 162 | <action android:name="android.intent.action.BOOT_COMPLETED" />
|
154 | 163 | </intent-filter>
|
155 | 164 | </receiver>
|
156 | 165 |
|
157 |
| - <receiver android:name=".ActionButtonReceiver" |
| 166 | + <receiver android:name=".receivers.ActionButtonReceiver" |
158 | 167 | android:exported="false">
|
159 | 168 | <intent-filter>
|
160 | 169 | <action android:name="ACTION_STOP" />
|
|
0 commit comments