rollback: gcm push notifications not working correctly

This commit is contained in:
inotia00 2022-11-05 12:55:43 +09:00
commit 676da6a2a0
2 changed files with 2 additions and 2 deletions

View file

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

View file

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