Merge "Null-check AV before checking its alpha." into rvc-dev am: 1b824ba3df
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12010086 Change-Id: I041f759d7819acd53a5c06fc199d4fda042a6d2e
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