GmsCore: disable battery optimizations for microG

Prevent battery optimization for GmsCore
* Add microG sysconfig
* Update GmsCore Android.mk
This commit is contained in:
Ammako
2021-03-24 05:45:51 -04:00
committed by GitHub
parent 685311e257
commit 886d15739e
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017-2018 ale5000
SPDX-License-Identifer: GPL-3.0-or-later
-->
<config>
<!-- microG GmsCore must always have network access for GCM. -->
<allow-in-power-save package="com.google.android.gms" />
<allow-in-data-usage-save package="com.google.android.gms" />
<allow-unthrottled-location package="com.google.android.gms" />
</config>