Settings: Expose radio info (*#*#4636#*#*)
Inspired by Havoc-OS https://github.com/Havoc-OS/android_packages_apps_Settings/commit/26775821 Signed-off-by: BrightTwikling <DF.SJbbba5@gmail.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -1337,4 +1337,8 @@
|
|||||||
<string name="power_profile_high">High</string>
|
<string name="power_profile_high">High</string>
|
||||||
<string name="power_profile_ext">Extreme</string>
|
<string name="power_profile_ext">Extreme</string>
|
||||||
<string name="powersave_summary">Options to extend your battery life</string>
|
<string name="powersave_summary">Options to extend your battery life</string>
|
||||||
|
|
||||||
|
<!-- Radio informations -->
|
||||||
|
<string name="radio_info_title">Radio info</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -96,6 +96,14 @@
|
|||||||
|
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
|
||||||
|
<Preference
|
||||||
|
android:title="@string/radio_info_title"
|
||||||
|
android:key="radio_info_settings">
|
||||||
|
<intent android:action="android.intent.action.MAIN"
|
||||||
|
android:targetPackage="com.android.phone"
|
||||||
|
android:targetClass="com.android.phone.settings.RadioInfo" />
|
||||||
|
</Preference>
|
||||||
|
|
||||||
<Preference
|
<Preference
|
||||||
android:key="vol_steps"
|
android:key="vol_steps"
|
||||||
android:title="@string/volume_steps_fragment_title"
|
android:title="@string/volume_steps_fragment_title"
|
||||||
|
|||||||
Reference in New Issue
Block a user