Merge "AOD: Hide owner info on ambient display" into oc-dr1-dev

This commit is contained in:
TreeHugger Robot
2017-07-20 15:28:05 +00:00
committed by Android (Google) Code Review

View File

@@ -333,6 +333,10 @@ public class KeyguardStatusView extends GridLayout {
} }
child.setAlpha(dark ? 0 : 1); child.setAlpha(dark ? 0 : 1);
} }
if (mOwnerInfo != null) {
mOwnerInfo.setAlpha(dark ? 0 : 1);
}
updateDozeVisibleViews(); updateDozeVisibleViews();
mBatteryDoze.setDark(dark); mBatteryDoze.setDark(dark);
mClockView.setTextColor(ColorUtils.blendARGB(mTextColor, Color.WHITE, darkAmount)); mClockView.setTextColor(ColorUtils.blendARGB(mTextColor, Color.WHITE, darkAmount));