[Catalyst] Migrate special access "Write system preferences" screens

Test steps:
1. Enable "Show system", change configuration (e.g. rotate device) and ensure the list includes system app
2. Run adb command to disable/uninstall apps from the list until it is empty
3. Run adb command to enable/install apps to recover the app list
4. Run adb command to update the app ops and verify the summary is changed accordingly
5. Tap an app to open the detail screen
6. Run adb command to update the app ops and verify the switch checked state is changed accordingly
7. Run adb command to disable/uninstall the app, verify the switch is disabled
8. Run adb command to update the app ops and verify the switch checked state is changed accordingly
9. Press back key to return app list screen and verify the app is hidden

adb commands:
- adb shell pm disable $PKG
- adb shell pm enable $PKG
- adb shell appops set --uid $PKG WRITE_SYSTEM_PREFERENCES deny
- adb shell appops set --uid $PKG WRITE_SYSTEM_PREFERENCES allow

Bug: 423842586
Flag: EXEMPT tbd
Test: manual
Change-Id: Ie51a7a0a061ea0cb04825953a7624f3aa30a3d5c
2 files changed