mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-11-10 13:05:05 +00:00
Add Classroom signature to Google whitelist, fixes #89
This commit is contained in:
parent
283b0cb3cc
commit
3936a02e1a
1 changed files with 5 additions and 1 deletions
|
@ -32,7 +32,11 @@ import static org.microg.gms.common.Constants.GMS_PACKAGE_SIGNATURE_SHA1;
|
|||
|
||||
public class PackageUtils {
|
||||
|
||||
private static final String[] KNOWN_GOOGLE_SIGNATURES = {GMS_PACKAGE_SIGNATURE_SHA1, "58e1c4133f7441ec3d2c270270a14802da47ba0e", "24bb24c05e47e0aefa68a58a766179d9b613a600"};
|
||||
private static final String[] KNOWN_GOOGLE_SIGNATURES = {
|
||||
GMS_PACKAGE_SIGNATURE_SHA1 /* Google platform key */,
|
||||
"58e1c4133f7441ec3d2c270270a14802da47ba0e" /* Android Wear */,
|
||||
"24bb24c05e47e0aefa68a58a766179d9b613a600" /* Google Fit/Glass */,
|
||||
"46f6c8987311e131f4f558d8e0ae145bebab6da3" /* Google Classroom */};
|
||||
|
||||
public static boolean isGoogleSignedPackages(Context context, String packageName) {
|
||||
return Arrays.asList(KNOWN_GOOGLE_SIGNATURES).contains(firstSignatureDigest(context, packageName));
|
||||
|
|
Loading…
Reference in a new issue