fix gcm push notifications not working correctly(b29f1a01e3)
This commit is contained in:
parent
d110baa9a7
commit
999bab674e
2 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue