Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed7491bd authored by Adrian Roos's avatar Adrian Roos Committed by android-build-merger
Browse files

Merge "AOD: Fix launching notifications from occluded AOD" into oc-dr1-dev am:...

Merge "AOD: Fix launching notifications from occluded AOD" into oc-dr1-dev am: 9f3bac52 am: 0870da75
am: 0fabec80

Change-Id: I4b47e1cf3ccad23702b952beb35b085292b27f6d
parents 6335b6ee 0fabec80
Loading
Loading
Loading
Loading
+24 −13
Original line number Diff line number Diff line
@@ -5797,15 +5797,18 @@ public class StatusBar extends SystemUI implements DemoMode,
                        boolean handled = superOnClickHandler(view, pendingIntent, fillInIntent);

                        // close the shade if it was open
                        if (handled) {
                        if (handled && !mNotificationPanel.isFullyCollapsed()) {
                            animateCollapsePanels(CommandQueue.FLAG_EXCLUDE_RECENTS_PANEL,
                                    true /* force */);
                            visibilityChanged(false);
                            mAssistManager.hideAssist();
                        }

                            // Wait for activity start.
                        return handled;
                            return true;
                        } else {
                            return false;
                        }

                    }
                }, afterKeyguardGone);
                return true;
@@ -6855,12 +6858,16 @@ public class StatusBar extends SystemUI implements DemoMode,
                    }
                }.start();

                if (!mNotificationPanel.isFullyCollapsed()) {
                    // close the shade if it was open
                    animateCollapsePanels(CommandQueue.FLAG_EXCLUDE_RECENTS_PANEL,
                            true /* force */, true /* delayed */);
                    visibilityChanged(false);

                    return true;
                } else {
                    return false;
                }
            }
        }, afterKeyguardGone);
    }
@@ -7012,12 +7019,16 @@ public class StatusBar extends SystemUI implements DemoMode,
                        new Thread(runnable).start();
                    }

                    if (!mNotificationPanel.isFullyCollapsed()) {
                        // close the shade if it was open
                        animateCollapsePanels(CommandQueue.FLAG_EXCLUDE_RECENTS_PANEL,
                                true /* force */, true /* delayed */);
                        visibilityChanged(false);

                        return true;
                    } else {
                        return false;
                    }
                }
            }, afterKeyguardGone);
        }
+3 −1
Original line number Diff line number Diff line
@@ -226,7 +226,9 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
            if (mOccluded && !mDozing) {
                mStatusBar.hideKeyguard();
                mStatusBar.stopWaitingForKeyguardExit();
                if (hideBouncerWhenShowing || mBouncer.needsFullscreenBouncer()) {
                    hideBouncer(false /* destroyView */);
                }
            } else {
                showBouncerOrKeyguard(hideBouncerWhenShowing);
            }