IllegalArgumentException when opening app in work profile just after turning on work profile #122
Open
7 tasks done
Labels
bug
Something is not working
device/software specific
Issues that only happen on some devices or with some specific hardware/software
needs triage
Issue is not yet ready for PR authors to take up
Checklist
Affected app version
1.1.1
Affected Android/Custom ROM version
Android 13 / DivestOS 20
Affected device model
OnePlus 7T
How did you install the app?
F-Droid / IzzyOnDroid
Steps to reproduce the bug
Expected behavior
Opens as normal without any messages.
Actual behavior
Gives a toast with the text "Error: java.lang.IllegalArgumentException: Volume exten..." and gives an error in logcat.
This happens on first launch only. Everything else seems normal apart from that.
Screenshots/Screen recordings
Screenshots don't capture the toast messages. However I have attached part of a logcat (from command
adb logcat -b all -d *:E
) below showing the message in full. The app otherwise appears as normal, so I have not attached a screenshot for privacy reasons.Additional information
I do have MicroG installed in the work profile, but I don't think that's the cause as I can still reproduce this even after I've frozen MicroG using Shelter. I was also able to reproduce this on my OnePlus 5T which also runs DivestOS, and reproduce on the last version of the Simple Mobile Tools Gallery on F-Droid.
If you wait a bit after opening the work profile to open the app, then this error does not occur. You have to launch it very soon after opening the work profile.
Crash log:
The text was updated successfully, but these errors were encountered: