-
Notifications
You must be signed in to change notification settings - Fork 683
Conversation
to enable safe usage of settings no matter which process is getting/setting them. Previously, different processes were accessing settings in an unsafe way and the warn methods were throwing Runtime exceptions which went largely unnoticed, but happened, especially on a fresh start of the OS. Change-Id: Ie4134e7be2a7ca4a373790f45fbcbd09bf02ad86
This reverts commit 3eb3380. See microg#1487 for details
Hi there, You'll want to add in something like: 4278: login: Switch to SettingsProvider for "Alt Sign in" | https://review.calyxos.org/c/CalyxOS/platform_external_microg_GmsCore/+/4278 to have the spoofing code work well with the SettingsProvider refactor. |
Should be already done in the current code, with the same previous (re-adapted) code. |
It's still calling |
This is the code to hide microg icon from launcher. I don't know if it's the case of change it. |
What happened was calling So we changed it in microG to use SettingsProvider. So this should be changed here too - both the hide launcher icon part, and also the lines below it, which I covered in my linked patch. This should all be changed to use SettingsProvider to make sure it doesn't get overriden when something else writes to it. My commit handles this for the Huawei button, but we don't have hide launcher icon. See CalyxOS/platform_external_microg_GmsCore@a68d262 |
Sorry for the previous (nonsense) message. I'll merge your code soon. P.S: Same thing should eventually be done with others preferences? |
No worries, and to be clear we're using the exact same mechanism for
Yeah. it is done with all upstream preferences, but if you have added anything you should switch them all over. See aa3a2d6 (and ofc my commit) for some examples. |
Yeah...I thought you followed another way. In every case I'm currently working on hide microg icon switch and the one about duplication cast. |
No description provided.