Work profile: unable to open account settings
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 3.2k
- Avg merge
- 12d 11h
- Merged PRs (30d)
- 4
Description
Describe the bug
When trying to open account settings via System settings nothing happens
To Reproduce
Steps to reproduce the behavior:
- Install microG to system(like in LineageOS4microG)
- Flash system
- Create work profile with Shelter
- Log into your Google account
- Go to System Settings > Accounts
- Select tab "Work profile"
- Select Google account
- Click "Account settings" and observe that nothing happens
Expected behavior
On step 8 it is expected that view with account settings would opened
System
Android Version: 11
Custom ROM: LineageOS 18.1(PolarMod with microG)
Additional context
- UnifiedNlp(
org.microg.nlp) is also installed on the system as I am not going to use any google stuff on main profile - I have checked for the same issue in main profile, but there everything works fine
Also I have grabbed some logs which are generated when I am clicking on the "Account settings"(step 8):
E AccountTypePrefLoader: Refusing to launch authenticator intent becauseit exploits Settings permissions: Intent { act=com.google.android.gms.accountsettings.ACCOUNT_PREFERENCES_SETTINGS flg=0x10000000 (has extras) }
In my opinion the best fast-fix for this bug is to implement per-account access settings inside the microG core app itself.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Android 11 work-profile flow described in the issue and inspect the AccountTypePrefLoader log for the rejected authenticator intent. Trace the account-settings launch path and determine how it should work for a work-profile account; done means the Account settings action opens the expected view without the permission refusal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100