1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3
- xmlns:tools=" http://schemas.android.com/tools"
4
- android:versionCode=" 39403 "
5
- android:versionName=" " >
3
+ xmlns : tools =" http://schemas.android.com/tools"
4
+ android : versionCode =" 39413 "
5
+ android : versionName =" " >
6
6
7
7
<!-- Permissions -->
8
+ <uses-permission android : name =" android.permission.POST_NOTIFICATIONS" />
8
9
<uses-permission android : name =" android.permission.RECEIVE_BOOT_COMPLETED" />
9
10
<uses-permission android : name =" android.permission.ACCESS_NETWORK_STATE" />
10
11
<uses-permission android : name =" android.permission.ACCESS_MOCK_LOCATION" />
@@ -30,9 +31,6 @@ android:versionName="">
30
31
<!-- Allows changing locales -->
31
32
<uses-permission android : name =" android.permission.CHANGE_CONFIGURATION" />
32
33
33
- <!-- Apps wanting to use foreground services, API 28 higher -->
34
- <uses-permission android : name =" android.permission.FOREGROUND_SERVICE" />
35
-
36
34
<application android : icon =" @mipmap/ic_launcher" android : label =" @string/app_name" android : largeHeap =" true" android : name =" org.glpi.inventory.agent.ui.InventoryAgentApp" android : requestLegacyExternalStorage =" true" android : roundIcon =" @drawable/ic_launcher_round" android : theme =" @style/AppTheme" android : vmSafeMode =" true" >
37
35
38
36
<uses-library android : name =" org.apache.http.legacy" android : required =" false" />
@@ -56,12 +54,6 @@ android:versionName="">
56
54
<activity android : label =" @string/app_name" android : name =" org.glpi.inventory.agent.preference.GlobalParametersPreference" />
57
55
<activity android : label =" @string/app_name" android : launchMode =" standard" android : name =" org.glpi.inventory.agent.ui.ActivityInventoryReport" android : theme =" @style/NoActionBar" />
58
56
59
- <service android : description =" @string/agent_description" android : enabled =" true" android : exported =" true" android : icon =" @mipmap/ic_launcher" android : label =" Inventory Agent" android : name =" org.glpi.inventory.agent.service.InventoryService" tools : ignore =" ExportedService" >
60
- <intent-filter >
61
- <action android : name =" org.glpi.inventory.service" />
62
- </intent-filter >
63
- </service >
64
-
65
57
<receiver android : enabled =" true" android : exported =" true" android : name =" org.glpi.inventory.agent.broadcast.BootStartAgent" android : permission =" android.permission.RECEIVE_BOOT_COMPLETED" >
66
58
<intent-filter >
67
59
<action android : name =" android.intent.action.BOOT_COMPLETED" />
@@ -72,21 +64,19 @@ android:versionName="">
72
64
<action android : name =" android.intent.action.ACTION_SHUTDOWN" />
73
65
</intent-filter >
74
66
</receiver >
75
- < receiver android : exported = " true " android : name = " org.glpi.inventory.agent.broadcast.TimeAlarm " >
76
- < intent-filter >
77
- < action android : name = " org.glpi.inventory.agent.ALARM " />
78
- </ intent-filter >
79
- </ receiver >
67
+
68
+ < service android : name = " .broadcast.InventoryJobScheduler "
69
+ android : enabled = " true "
70
+ android : exported = " false "
71
+ android : permission = " android.permission.BIND_JOB_SERVICE " / >
80
72
81
73
<activity android : name =" org.glpi.inventory.agent.ui.PermissionActivity" />
82
74
<activity android : name =" org.glpi.inventory.agent.ui.ActivityListServers" />
83
75
<activity android : exported =" true" android : name =" org.glpi.inventory.agent.ui.ActivityDetailServer" >
84
76
<intent-filter >
85
77
<action android : name =" android.intent.action.VIEW" />
86
-
87
78
<category android : name =" android.intent.category.DEFAULT" />
88
79
<category android : name =" android.intent.category.BROWSABLE" />
89
-
90
80
<data android : host =" glpi-project.github.io" android : pathPrefix =" /android-inventory-agent/deeplink" />
91
81
<data android : scheme =" http" />
92
82
<data android : scheme =" https" />
@@ -96,4 +86,4 @@ android:versionName="">
96
86
<activity android : name =" org.glpi.inventory.agent.ui.ActivityCategories" />
97
87
</application >
98
88
99
- </manifest >
89
+ </manifest >
0 commit comments