I have work profile enabled on my Android Oreo 8.1 device and I disabled (turned off) the work profile from the notification drawer menu. Now, when I tap the button to enable (turn on) work profile again, it asks for my pin and then settings app crashes (Settings has stopped", without enabling the work profile. This keeps happening.
Any idea of this is a bug with Android or something wrong with Xiaomi's build? Are there any workarounds to enable (turn on) work profile again? I tried from the settings menu also, but results in the same crash.
Xiaomi Mi A1 with Android version 8.1.0 and security patch 5 June 2018
Kernel version 3.18.71-perf-g4a631fd (gcc version 4.9.x 20150123 (prerelease) (GCC) ) builer@mi-server #1 Wed Jun 20 14:23:03 WIB 2018
Build number OPM1.171019.019.v18.104.22.168.0DHMIFE