锁屏
去掉默认锁屏界面
frameworks/base/core/res/res/values/config.xml
<bool name="config_disableLockscreenByDefault">false</bool>
修改这个属性 config_disableLockscreenByDefault 为 true
———————————————————————————————————————————
底部上滑
添加底部上滑功能
frameworks/base/services/core/java/com/android/server/policy/PhoneWindowManager.java
———————————————————————————————————————————
底部上滑
下拉框出现时,底部上滑功能暂时屏蔽
frameworks/base/services/core/java/com/android/server/policy/PhoneWindowManager.java
———————————————————————————————————————————
/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
———————————————————————————————————————————
Property属性权限添加
1、:/system/sepolicy/private/property_contexts
2、:
/system/sepolicy/prebuilts/api/26.0/private/property_contexts中添加以下内容(同理,27.0,28.0同上)