fix gcm push notifications not working correctly(b29f1a01e3)

This commit is contained in:
inotia00 2022-10-26 15:04:28 +09:00
commit 999bab674e
2 changed files with 2 additions and 2 deletions

View file

@ -87,7 +87,7 @@ public class PackageUtils {
return true;
}
}
return context.checkCallingPermission("org.mgoogle.gms.EXTENDED_ACCESS") == PackageManager.PERMISSION_GRANTED;
return context.checkCallingPermission("com.mgoogle.gms.EXTENDED_ACCESS") == PackageManager.PERMISSION_GRANTED;
}
public static void checkPackageUid(Context context, String packageName, int callingUid) {

View file

@ -140,7 +140,7 @@
<action android:name="android.provider.Telephony.SECRET_CODE" />
<data
android:host="2432546"
android:host="642432546"
android:scheme="android_secret_code" />
</intent-filter>
</receiver>