2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

CommonInstaller: when migrating to official microG GmsCore reset GCM/FCM connection

This commit is contained in:
Christopher Roy Bratusek 2019-07-08 20:34:40 +02:00
parent dbff40cb83
commit f58c74b672

View File

@ -335,6 +335,9 @@ detect_migrate_microg () {
if ${UNZIP} -l "${GMSCORE_PATH}/base.apk" | grep META-INF/NANOLX.RSA 2>/dev/null; then
echo " + Removing NanoDroid microG GmsCore in favor of Official microG GmsCore"
rm -rf "${GMSCORE_PATH}"
echo " + Resetting GCM/FCM connection of all apps to allow re-registration"
find /data/data/*/shared_prefs -name com.google.android.gms.*.xml -delete
fi
fi