Loading play-services-core/src/main/java/org/microg/gms/auth/loginservice/AccountAuthenticator.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -79,6 +79,11 @@ public class AccountAuthenticator extends AbstractAccountAuthenticator { } } public boolean isPackageOverrideAllowed(Account account, String requestingPackage, String overridePackage, CertData overrideCertificate) { public boolean isPackageOverrideAllowed(Account account, String requestingPackage, String overridePackage, CertData overrideCertificate) { if (requestingPackage.equals("foundation.e.apps")) { Log.d(TAG, "Request is coming from AppLounge. Whitelist AppLounge on /e/OS"); return true; } // Always allow for self package // Always allow for self package if (requestingPackage.equals(context.getPackageName())) return true; if (requestingPackage.equals(context.getPackageName())) return true; // if (requestingPackage.equals("org.microg.example.authwithoverride")) return true; // if (requestingPackage.equals("org.microg.example.authwithoverride")) return true; Loading Loading
play-services-core/src/main/java/org/microg/gms/auth/loginservice/AccountAuthenticator.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -79,6 +79,11 @@ public class AccountAuthenticator extends AbstractAccountAuthenticator { } } public boolean isPackageOverrideAllowed(Account account, String requestingPackage, String overridePackage, CertData overrideCertificate) { public boolean isPackageOverrideAllowed(Account account, String requestingPackage, String overridePackage, CertData overrideCertificate) { if (requestingPackage.equals("foundation.e.apps")) { Log.d(TAG, "Request is coming from AppLounge. Whitelist AppLounge on /e/OS"); return true; } // Always allow for self package // Always allow for self package if (requestingPackage.equals(context.getPackageName())) return true; if (requestingPackage.equals(context.getPackageName())) return true; // if (requestingPackage.equals("org.microg.example.authwithoverride")) return true; // if (requestingPackage.equals("org.microg.example.authwithoverride")) return true; Loading