Android 8.1 锁屏界面 壁纸半透明改为全透明

Android 8.1 锁屏界面壁纸半透明改为全透明 ,记录如下

Z:\alps_o1_mp1\alps\vendor\mediatek\proprietary\packages\apps\SystemUI\src\com\android\systemui\statusbar\phone\ScrimController.java

    private void setScrimBehindAlpha(float alpha) {
       // setScrimAlpha(mScrimBehind, alpha); 
	   setScrimAlpha(mScrimBehind, 0);  //add by xx
    }

    private void setScrimInFrontAlpha(float alpha) {
       // setScrimAlpha(mScrimInFront, alpha);
	   setScrimAlpha(mScrimInFront, 0);  //add by xx
        if (alpha == 0f) {
            mScrimInFront.setClickable(false);
        } else {
            // Eat touch events (unless dozing).
            mScrimInFront.setClickable(!mDozing);
        }
    }

你可能感兴趣的:(8.1代码记录)