diff options
| author | 2022-11-04 02:03:46 +0000 | |
|---|---|---|
| committer | 2022-11-04 02:03:46 +0000 | |
| commit | cafab986b10779462e59c18b173edbe1b09b49ac (patch) | |
| tree | 922a0d4c49e7cc952f6e740a917b6b98d1d1d907 | |
| parent | 4f1ceac15ea7ee4954812693a208abd3f138fce4 (diff) | |
| parent | 1aaacb984303b398821e11b025b5e5f93f264b18 (diff) | |
Merge "Removing unused SplitScreen bounds notification from systemUI" into tm-qpr-dev
| -rw-r--r-- | packages/SystemUI/shared/src/com/android/systemui/shared/recents/IOverviewProxy.aidl | 5 | ||||
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java | 23 |
2 files changed, 0 insertions, 28 deletions
diff --git a/packages/SystemUI/shared/src/com/android/systemui/shared/recents/IOverviewProxy.aidl b/packages/SystemUI/shared/src/com/android/systemui/shared/recents/IOverviewProxy.aidl index bfbe88c475ac..abefeba9c417 100644 --- a/packages/SystemUI/shared/src/com/android/systemui/shared/recents/IOverviewProxy.aidl +++ b/packages/SystemUI/shared/src/com/android/systemui/shared/recents/IOverviewProxy.aidl @@ -60,11 +60,6 @@ oneway interface IOverviewProxy { void onSystemUiStateChanged(int stateFlags) = 16; /** - * Sent when the split screen is resized - */ - void onSplitScreenSecondaryBoundsChanged(in Rect bounds, in Rect insets) = 17; - - /** * Sent when suggested rotation button could be shown */ void onRotationProposal(int rotation, boolean isValid) = 18; diff --git a/packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java b/packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java index 46c4f410d078..ba97297421b3 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java +++ b/packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java @@ -108,7 +108,6 @@ import java.io.PrintWriter; import java.util.ArrayList; import java.util.List; import java.util.Optional; -import java.util.function.BiConsumer; import java.util.function.Supplier; import javax.inject.Inject; @@ -470,8 +469,6 @@ public class OverviewProxyService extends CurrentUserTracker implements }; private final StatusBarWindowCallback mStatusBarWindowCallback = this::onStatusBarStateChanged; - private final BiConsumer<Rect, Rect> mSplitScreenBoundsChangeListener = - this::notifySplitScreenBoundsChanged; // This is the death handler for the binder from the launcher service private final IBinder.DeathRecipient mOverviewServiceDeathRcpt @@ -839,26 +836,6 @@ public class OverviewProxyService extends CurrentUserTracker implements } } - /** - * Notifies the Launcher of split screen size changes - * - * @param secondaryWindowBounds Bounds of the secondary window including the insets - * @param secondaryWindowInsets stable insets received by the secondary window - */ - public void notifySplitScreenBoundsChanged( - Rect secondaryWindowBounds, Rect secondaryWindowInsets) { - try { - if (mOverviewProxy != null) { - mOverviewProxy.onSplitScreenSecondaryBoundsChanged( - secondaryWindowBounds, secondaryWindowInsets); - } else { - Log.e(TAG_OPS, "Failed to get overview proxy for split screen bounds."); - } - } catch (RemoteException e) { - Log.e(TAG_OPS, "Failed to call onSplitScreenSecondaryBoundsChanged()", e); - } - } - private final ScreenLifecycle.Observer mLifecycleObserver = new ScreenLifecycle.Observer() { /** * Notifies the Launcher that screen turned on and ready to use |