Merge "Fix legacy recents crash on Go devices" into qt-dev
am: 92f755e339
Change-Id: I8f3ae12bfb7fbbd1340bc765fc5deebbf94b7595
This commit is contained in:
@@ -662,11 +662,17 @@ public class LegacyRecentsImpl implements RecentsImplementation {
|
||||
|
||||
public final void onBusEvent(ExpandPipEvent event) {
|
||||
PipUI pipUi = getComponent(PipUI.class);
|
||||
if (pipUi == null) {
|
||||
return;
|
||||
}
|
||||
pipUi.expandPip();
|
||||
}
|
||||
|
||||
public final void onBusEvent(HidePipMenuEvent event) {
|
||||
PipUI pipUi = getComponent(PipUI.class);
|
||||
if (pipUi == null) {
|
||||
return;
|
||||
}
|
||||
event.getAnimationTrigger().increment();
|
||||
pipUi.hidePipMenu(() -> {
|
||||
event.getAnimationTrigger().increment();
|
||||
|
||||
Reference in New Issue
Block a user