fix google login missing droidguard#3257
Conversation
2.fix google login missing droidguard
|
I don't know this code too much but does it check if droidguard is enabled in microG settings before using it? |
Currently, based on my testing, this error occurs when installing Microg for the first time and then logging into a Google account. |
Perhaps I did not express myself clearly. |
ok |
|
@DaVinci9196: shouldn't this line be changed in the same way as those from 3a68bc3? |
|
Btw. instead of changing --- a/play-services-base/core/src/main/java/org/microg/gms/auth/AuthRequest.java
+++ b/play-services-base/core/src/main/java/org/microg/gms/auth/AuthRequest.java
@@ -68,7 +68,7 @@ public class AuthRequest extends HttpFormClient.Request {
public boolean getAccountId;
@RequestContent("ACCESS_TOKEN")
public boolean isAccessToken;
- @RequestContent("droidguard_results")
+ @RequestContent("droidguard_results", nullPresent = true)
public String droidguardResults;
@RequestContent("has_permission")
public boolean hasPermission;
|
|
Friendly reminder on |
|
Looping in you (as the merger of this pull request), as @DaVinci9196 doesn't show any reaction to my comments listed below |
|
As both @DaVinci9196 and @mar-v-in do not respond to #3257 (comment) and to #3257 (comment) (probably because they don't receive/read the GitHub notifications) looping in more people @DaVinci9196 & @mar-v-in: |
|
Hi @er13 Sorry for this. I receive dozens of notifications from GitHub every day, so some slip through (this one likely because it was on a closed PR). Indeed the variant you described might be cleaner, you're welcome to open a pull request with it. |
… point Missing part of microg#3257 / microg@b6ab193
|
@mar-v-in @mar-v-in & @DaVinci9196: Annotating All together there are the following ones:
The changes are already available in this branch |
like 3a68bc3 i.e. same fix as microg#3257
* workaccount: Eliminate call to `AccountManager.addAccount` Intune now sets a policy such that users are not allowed to create work profiles anymore. This is good in principle because users are never supposed to do this manually (and are, in fact, incapable of doing so). Our code is also affected because `WorkAccountService` triggered sign-in flow in `WorkAccountAuthenticator` through `AccountManager.addAccount`, which is the action prohibited by the policy. We can still (and need to) call `AccountManager.addAccountExplicitly` to register the account with the system. * workaccount: fix sign in like 3a68bc3 i.e. same fix as #3257 * workaccount: cleanup
|
@er13 It seems the With #3350 now merged, this should resolve all affected instances |
1.Avoiding ANR that may occur during login (#3192)
2.fix google login missing droidguard
Problem stack: