Commit 8960c879 authored by Mohit Mali's avatar Mohit Mali
Browse files

- Fixed `no Data usage control option visible in Oreo`

- Removed sharedUserId flag
parent c33e3129
Pipeline #49622 passed with stage
in 2 minutes and 41 seconds
...@@ -7,20 +7,21 @@ http://www.gnu.org/licenses/gpl.html ...@@ -7,20 +7,21 @@ http://www.gnu.org/licenses/gpl.html
--> -->
<!-- @author Vincent Bourgmayer --> <!-- @author Vincent Bourgmayer -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="foundation.e.drive" package="foundation.e.drive">
android:sharedUserId="android.uid.system" >
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> <!-- needed for PersistedJob --> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <!-- needed for PersistedJob -->
<uses-permission android:name="android.permission.GET_ACCOUNTS"/> <uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/> <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" /> <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
<permission android:name="android.permission.FORCE_STOP_PACKAGES"
<permission
android:name="android.permission.FORCE_STOP_PACKAGES"
android:permissionGroup="android.permission-group.SYSTEM_TOOLS" android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
android:protectionLevel="signature"/> android:protectionLevel="signature" />
<application <application
android:allowBackup="true" android:allowBackup="true"
...@@ -29,55 +30,64 @@ http://www.gnu.org/licenses/gpl.html ...@@ -29,55 +30,64 @@ http://www.gnu.org/licenses/gpl.html
android:roundIcon="@mipmap/ic_eelo_round"> android:roundIcon="@mipmap/ic_eelo_round">
<!-- Providers --> <!-- Providers -->
<provider <provider
android:authorities="foundation.e.drive.providers.MediasSyncProvider"
android:name=".providers.MediasSyncProvider" android:name=".providers.MediasSyncProvider"
android:label="Pictures and videos" android:authorities="foundation.e.drive.providers.MediasSyncProvider"
android:enabled="true" android:enabled="true"
android:exported="true"/> android:exported="true"
android:label="Pictures and videos" />
<provider <provider
android:authorities="foundation.e.drive.providers.SettingsSyncProvider"
android:name=".providers.SettingsSyncProvider" android:name=".providers.SettingsSyncProvider"
android:label="Application settings" android:authorities="foundation.e.drive.providers.SettingsSyncProvider"
android:enabled="true" android:enabled="true"
android:exported="true"/> android:exported="true"
android:label="Application settings" />
<!-- Services --> <!-- Services -->
<service android:name=".services.InitializerService" <service
android:name=".services.InitializerService"
android:enabled="true" android:enabled="true"
android:exported="true"> android:exported="true">
<intent-filter> <intent-filter>
<action android:name="drive.services.InitializerService" /> <action android:name="drive.services.InitializerService" />
</intent-filter> </intent-filter>
</service> </service>
<service android:name=".services.ResetService" <service
android:name=".services.ResetService"
android:enabled="true" android:enabled="true"
android:exported="true"> android:exported="true">
<intent-filter> <intent-filter>
<action android:name="drive.services.ResetService" /> <action android:name="drive.services.ResetService" />
</intent-filter> </intent-filter>
</service> </service>
<service android:name=".jobs.ScannerJob" <service
android:name=".jobs.ScannerJob"
android:permission="android.permission.BIND_JOB_SERVICE" /> android:permission="android.permission.BIND_JOB_SERVICE" />
<service android:name=".services.ObserverService" <service
android:enabled="true"/> android:name=".services.ObserverService"
<service android:name=".services.OperationManagerService"/> android:enabled="true" />
<service android:name=".services.OperationManagerService" />
<!-- Receivers --> <!-- Receivers -->
<receiver android:name=".receivers.BootCompleteReceiver" <receiver
android:name=".receivers.BootCompleteReceiver"
android:enabled="true"> android:enabled="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter> </intent-filter>
</receiver> </receiver>
<receiver android:name=".receivers.BatteryStateReceiver" android:enabled="true"> <receiver
android:name=".receivers.BatteryStateReceiver"
android:enabled="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.BATTERY_LOW"/> <action android:name="android.intent.action.BATTERY_LOW" />
<action android:name="android.intent.action.BATTERY_OKAY"/> <action android:name="android.intent.action.BATTERY_OKAY" />
</intent-filter> </intent-filter>
</receiver> </receiver>
<receiver android:name=".receivers.PackageEventReceiver" android:enabled="true"> <receiver
android:name=".receivers.PackageEventReceiver"
android:enabled="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MY_PACKAGE_REPLACED"/> <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
</intent-filter> </intent-filter>
</receiver> </receiver>
</application> </application>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment