Merge "Fix an obscure NPE" into rvc-dev am: fe96fa8b19 am: a46f7ea2e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11844113 Change-Id: Ie85e1315718ab83df06eabd00a6682a98dc9b781
This commit is contained in:
@@ -163,6 +163,11 @@ public class BubbleExpandedView extends LinearLayout {
|
|||||||
Log.d(TAG, "onActivityViewReady: calling startActivity, "
|
Log.d(TAG, "onActivityViewReady: calling startActivity, "
|
||||||
+ "bubble=" + getBubbleKey());
|
+ "bubble=" + getBubbleKey());
|
||||||
}
|
}
|
||||||
|
if (mActivityView == null) {
|
||||||
|
mBubbleController.removeBubble(getBubbleKey(),
|
||||||
|
BubbleController.DISMISS_INVALID_INTENT);
|
||||||
|
return;
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
if (!mIsOverflow && mBubble.usingShortcutInfo()) {
|
if (!mIsOverflow && mBubble.usingShortcutInfo()) {
|
||||||
options.setApplyActivityFlagsForBubbles(true);
|
options.setApplyActivityFlagsForBubbles(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user