packages/apps/Settings/res/xml/l
去除选项:设置->声音->其他提示音->:触摸提示音选项
++ <!-- <!– Touch sounds –>-->
++ <!-- <SwitchPreference-->
++ <!-- android:key="touch_sounds"-->
++ <!-- android:title="@string/touch_sounds_title"/>-->
packages/apps/Settings/res/xml/other_l
去除选项:设置->声音->其他提示音->:触摸提示音选项
++ <!-- Touch sounds -->
++ <!-- <SwitchPreference-->
++ <!-- android:key="touch_sounds"-->
++ <!-- android:title="@string/touch_sounds_title" />-->
packages/apps/Settings/res/l
去除选项:设置->声音->其他提示音->:触摸提示音选项
++ <!-- Sound: Other sounds: Title for the option enabling touch sounds. [CHAR LIMIT=30] -->++ <!-- <string name="touch_sounds_title">Touch sounds</string>-->
packages/apps/Settings/res/l
去除选项:设置->声音->其他提示音->:触摸提示音选项
++ <!-- <string name="touch_sounds_title" msgid="2200734041857425078">"Imisindo yokuthinta"</string>-->
packages/apps/Settings/res/l
packages/apps/Settings/res/l
packages/apps/Settings/res/l
同理
packages/apps/Settings/res/l
修改字样:设置->声音->其他提示音->:充电提示音和振动 改为 充电提示音
++ <string name="charging_sounds_title">Charging sounds</string>
packages/apps/Settings/res/l
修改字样:设置->声音->其他提示音->:充电提示音和振动 改为 充电提示音
++ <string name="charging_sounds_title" msgid="5261683808537783668">"Imisindo yokushaja"</string>
++ <string name="docking_sounds_title" msgid="5341616179210436159">"Imisindo yokudokha"</string>
packages/apps/Settings/res/l
packages/apps/Settings/res/l
packages/apps/Settings/res/l
同理
packages/apps/Settings/res/xml/l
去除振动和触感强度选项
++ <!-- <Preference-->
++ <!-- android:fragment="com.android.settings.accessibility.VibrationSettings"-->
++ <!-- android:key="vibration_preference_screen"-->
++ <!-- android:persistent="false"-->
++ <!-- android:title="@string/accessibility_vibration_settings_title"-->
++ <!-- settings:controller="com.android.settings.accessibility.VibrationPreferenceController"/>-->
packages/apps/Settings/res/xml/other_l
去除选项:振动相关选项
++ <!-- <!– Vibrate on touch –>-->
++ <!-- <SwitchPreference-->
++ <!-- android:key="vibrate_on_touch"-->
++ <!-- android:title="@string/vibrate_on_touch_title"-->
++ <!-- android:summary="@string/vibrate_on_touch_summary"-->
++ <!-- settings:keywords="@string/keywords_vibrate_on_touch"/>-->
packages/apps/Settings/res/xml/other_l
去除选项:振动相关选项
++ <!-- Vibrate on touch -->
++ <!-- <SwitchPreference-->
++ <!-- android:key="vibrate_on_touch"-->
++ <!-- android:title="@string/vibrate_on_touch_title"-->
++ <!-- android:summary="@string/vibrate_on_touch_summary" />-->
packages/apps/Settings/res/l
去除振动字样
++ <string name="other_sound_category_preference_title">Other sounds</string>
packages/apps/Settings/res/l
去除振动字样
++ <string name="other_sound_category_preference_title" msgid="8182757473602586634">"Eminye imisindo"</string>
packages/apps/Settings/res/l
packages/apps/Settings/res/l
packages/apps/Settings/res/l
同理
packages/apps/Settings/src/com/android/settings/gestures/PreventRingingParentPreferenceController.java
@Overridepublic CharSequence getSummary() {int value = ContentResolver(), SECURE_KEY, VOLUME_HUSH_VIBRATE);int summary;switch (value) {
++ // case VOLUME_HUSH_VIBRATE:
++ // summary = R.string.prevent_ringing_option_vibrate_summary;
++ // break;case VOLUME_HUSH_MUTE:summary = R.string.prevent_ringing_option_mute_summary;break;default:summary = R.string.prevent_ringing_option_none_summary;}Text(summary);}
packages/apps/Settings/src/com/android/settings/gestures/PreventRingingGesturePreferenceController.java
@Overridepublic void displayPreference(PreferenceScreen screen) {super.displayPreference(screen);if (!isAvailable()) {return;}mPreferenceCategory = screen.findPreference(getPreferenceKey());mVibratePref = makeRadioPreference(KEY_VIBRATE, R.string.prevent_ringing_option_vibrate);mMutePref = makeRadioPreference(KEY_MUTE, R.string.prevent_ringing_option_mute);++ vePreference(mVibratePref);if (mPreferenceCategory != null) {mSettingObserver = new SettingObserver(mPreferenceCategory);}mVideoPreference = screen.findPreference(getVideoPrefKey());}
packages/apps/Settings/res/xml/other_l
packages/apps/Settings/res/xml/l
packages/apps/Settings/res/l
packages/apps/Settings/res/l
packages/apps/Settings/res/l
packages/apps/Settings/res/l
packages/apps/Settings/res/l
同理
Settings 开发系列:
Android Settings 去除振动功能
Android Settings 去除自动旋转屏幕
Android Settings 使设置主界面可以被键盘上下键所选中
Android Settings 取消全选效果改为直接选中选项
本文发布于:2024-01-31 07:39:10,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170665795326761.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |