Files
oxmc 82b50e6d2f settings: add developer options toggle
Replace the non-functional 7-tap build number with a SwitchPreferenceCompat
in a new Developer category. Reads and writes
Settings.Global.DEVELOPMENT_SETTINGS_ENABLED directly; requires
WRITE_SECURE_SETTINGS (granted via platform certificate). Toggle state
re-syncs in onResume so it stays accurate if changed elsewhere.
2026-06-09 22:10:12 -07:00

50 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="@string/category_pawletos">
<Preference
android:key="pawlet_version"
android:title="@string/pref_version"
android:selectable="false" />
<Preference
android:key="pawlet_build_type"
android:title="@string/pref_build_type"
android:selectable="false" />
<Preference
android:key="pawlet_device"
android:title="@string/pref_device"
android:selectable="false" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/category_developer">
<SwitchPreferenceCompat
android:key="developer_options"
android:title="@string/pref_developer_options"
android:summary="@string/pref_developer_options_summary" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/category_android">
<Preference
android:key="android_version"
android:title="@string/pref_android_version"
android:selectable="false" />
<Preference
android:key="android_codename"
android:title="@string/pref_android_codename"
android:selectable="false" />
<Preference
android:key="android_security_patch"
android:title="@string/pref_security_patch"
android:selectable="false" />
<Preference
android:key="android_build_number"
android:title="@string/pref_build_number"
android:selectable="false" />
<Preference
android:key="android_kernel"
android:title="@string/pref_kernel_version"
android:selectable="false" />
</PreferenceCategory>
</PreferenceScreen>