默认通知QuickSettings的默认行数列数

来源:互联网 发布:linux添加权限 编辑:程序博客网 时间:2024/05/16 11:13

1. 默认通知QuickSettings的默认行数列数

frameworks/base/packages/SystemUI/res/values/config.xml


    <!-- The number of columns in the QuickSettings -->    <integer name="quick_settings_num_columns">3</integer>    <!-- The maximum number of rows in the QuickSettings -->    <integer name="quick_settings_max_rows">4</integer>

2. 把屏幕亮度调到最暗,然后挡住手机感光区,重新调节屏幕亮度,屏幕会完全变黑。

frameworks/base/core/res/res/values/config.xml

    <!-- Minimum allowable screen brightness to use in a very dark room.         This value sets the floor for the darkest possible auto-brightness         adjustment.  It is expected to be somewhat less than the first entry in         config_autoBrightnessLcdBacklightValues so as to allow the user to have         some range of adjustment to dim the screen further than usual in very         dark rooms. The contents of the screen must still be clearly visible         in darkness (although they may not be visible in a bright room). -->    <!-- yueshua 20151117 modify 1 to 5 for PROD104106860 begin-->    <integer name="config_screenBrightnessDark">5</integer>    <!-- yueshua 20151117 modify 1 to 5 for PROD104106860 end-->

3.耳机安全指数

frameworks/base/core/res/res/values/config.xml

    <!-- Safe headphone volume index. When music stream volume is below this index    the SPL on headphone output is compliant to EN 60950 requirements for portable music    players. -->    <integer name="config_safe_media_volume_index">10</integer>


4.通话过程中短线到来,没有提示音

frameworks/base/core/res/res/values/config.xml

   <!-- Configuration to play sms ringtone during MO/MT call -->   <!-- Modified for PROD103754828. begin -->   <!--<bool name="config_sms_ringtone_incall">false</bool>-->   <bool name="config_sms_ringtone_incall">true</bool>   <!--Modified for PROD103754828. end -->

5.修改长按home键与双击home键的行为

 <!-- Control the behavior when the user long presses the home button.            0 - Nothing            1 - Recent apps view in SystemUI            2 - Launch assist intent         This needs to match the constants in         policy/src/com/android/internal/policy/impl/PhoneWindowManager.java    -->    <!-- yueshuai modify for homeButton begin -->    <integer name="config_longPressOnHomeBehavior">2</integer>    <!-- Control the behavior when the user double-taps the home button.            0 - Nothing            1 - Recent apps view in SystemUI         This needs to match the constants in         policy/src/com/android/internal/policy/impl/PhoneWindowManager.java    -->    <integer name="config_doubleTapOnHomeBehavior">1</integer>    <!-- yueshuai modify for homeButton end -->





0 0
原创粉丝点击