Merge "Null-check AV before checking its alpha." into rvc-dev am: 1b824ba3df am: c0ad19f015
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12010086 Change-Id: Ie837beae628074fe52c3b9209c1ee54d7047e055
This commit is contained in:
@@ -495,12 +495,9 @@ public class BubbleExpandedView extends LinearLayout {
|
||||
}
|
||||
final float alpha = visibility ? 1f : 0f;
|
||||
|
||||
if (alpha == mActivityView.getAlpha()) {
|
||||
return;
|
||||
}
|
||||
|
||||
mPointerView.setAlpha(alpha);
|
||||
if (mActivityView != null) {
|
||||
|
||||
if (mActivityView != null && alpha != mActivityView.getAlpha()) {
|
||||
mActivityView.setAlpha(alpha);
|
||||
mActivityView.bringToFront();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user