AOD: Hide owner info on ambient display

Change-Id: Iea27b111b4025e2ad4b9cd0139f18f1653ca17dc
Fixes: 63800919
Test: Set a dark wallpaper, set owner info; go to AOD, verify that owner info is not visible.
This commit is contained in:
Adrian Roos
2017-07-20 15:14:25 +02:00
parent d3878b5e12
commit 8e130f08be

View File

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