2020
12-24
12-24
android10 隐藏SystemUI锁屏下的多用户图标的示例代码
需求:如上图,需要隐藏右上角的多用户蓝色图标.修改后结果如下:锁屏相关的布局在SystemUIframeworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarView.java//更新多用户图标的可见性privatevoidupdateVisibilities(){if(mMultiUserSwitch.getParent()!=mStatusIconArea&&!mKeyguardUserSwitcherShowing){if(mMultiUserSwitch.getParent()!=null){getOverl...
继续阅读 >