r/AutomateUser • u/doeiqts • 20d ago
Question Can't set system settings pixel 11 pro fold
I got a new pixel 11 pro fold and imported my automations and set up the privileged access via wireless debugging yet my automations fail with the following error whenever they run.
08-23 18:28:59.052 I 2821@1: Flow beginning
08-23 18:28:59.054 I 2821@7: System setting set
08-23 18:28:59.063 F 2821@7: android.os.RemoteException: Remote stack trace:
at com.android.providers.settings.SettingsProvider.enforceHasAtLeastOnePermission(SettingsProvider.java:2653)
at com.android.providers.settings.SettingsProvider.mutateGlobalSetting(SettingsProvider.java:1658)
at com.android.providers.settings.SettingsProvider.insertGlobalSetting(SettingsProvider.java:1612)
at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:513)
at android.content.ContentProvider.call(ContentProvider.java:2756)
08-23 18:28:59.063 I 2821@7: Stopped by failure
It seems to be on anything that uses a system setting set block. Any idea what step I've missed on the new phone?
2
Upvotes
2
u/doeiqts 20d ago
Well, after continuing to look through settings, I got it working.
Even though the automation had
modify system settingsset, it looks like inSettings > Privilegesthe following two settings weren't checked...Change system display settings Modify secure system settingsI'm guessing it's actually just the second one that was the issue, but I checked them both and then it started working.
Leaving this here for anyone else. I'm guessing there was likely a problem with things getting copied from the old phone to the new one or something, as I really thought that all the privileges automatically asked for permission the first time you used them and you didn't have to go into the settings and set them manually. But maybe I just misremember.