11<?xml version =" 1.0" encoding =" utf-8" ?>
22<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 =" " >
66
77 <!-- Permissions -->
8+ <uses-permission android : name =" android.permission.POST_NOTIFICATIONS" />
89 <uses-permission android : name =" android.permission.RECEIVE_BOOT_COMPLETED" />
910 <uses-permission android : name =" android.permission.ACCESS_NETWORK_STATE" />
1011 <uses-permission android : name =" android.permission.ACCESS_MOCK_LOCATION" />
@@ -30,9 +31,6 @@ android:versionName="">
3031 <!-- Allows changing locales -->
3132 <uses-permission android : name =" android.permission.CHANGE_CONFIGURATION" />
3233
33- <!-- Apps wanting to use foreground services, API 28 higher -->
34- <uses-permission android : name =" android.permission.FOREGROUND_SERVICE" />
35-
3634 <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" >
3735
3836 <uses-library android : name =" org.apache.http.legacy" android : required =" false" />
@@ -56,12 +54,6 @@ android:versionName="">
5654 <activity android : label =" @string/app_name" android : name =" org.glpi.inventory.agent.preference.GlobalParametersPreference" />
5755 <activity android : label =" @string/app_name" android : launchMode =" standard" android : name =" org.glpi.inventory.agent.ui.ActivityInventoryReport" android : theme =" @style/NoActionBar" />
5856
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-
6557 <receiver android : enabled =" true" android : exported =" true" android : name =" org.glpi.inventory.agent.broadcast.BootStartAgent" android : permission =" android.permission.RECEIVE_BOOT_COMPLETED" >
6658 <intent-filter >
6759 <action android : name =" android.intent.action.BOOT_COMPLETED" />
@@ -72,21 +64,19 @@ android:versionName="">
7264 <action android : name =" android.intent.action.ACTION_SHUTDOWN" />
7365 </intent-filter >
7466 </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 " / >
8072
8173 <activity android : name =" org.glpi.inventory.agent.ui.PermissionActivity" />
8274 <activity android : name =" org.glpi.inventory.agent.ui.ActivityListServers" />
8375 <activity android : exported =" true" android : name =" org.glpi.inventory.agent.ui.ActivityDetailServer" >
8476 <intent-filter >
8577 <action android : name =" android.intent.action.VIEW" />
86-
8778 <category android : name =" android.intent.category.DEFAULT" />
8879 <category android : name =" android.intent.category.BROWSABLE" />
89-
9080 <data android : host =" glpi-project.github.io" android : pathPrefix =" /android-inventory-agent/deeplink" />
9181 <data android : scheme =" http" />
9282 <data android : scheme =" https" />
@@ -96,4 +86,4 @@ android:versionName="">
9686 <activity android : name =" org.glpi.inventory.agent.ui.ActivityCategories" />
9787 </application >
9888
99- </manifest >
89+ </manifest >
0 commit comments