Merge "Remove deprecated methods from SysUiProxy" into tm-qpr-dev

This commit is contained in:
Vinit Nayak
2022-06-03 16:39:11 +00:00
committed by Android (Google) Code Review
2 changed files with 0 additions and 38 deletions

View File

@@ -41,12 +41,6 @@ interface ISystemUiProxy {
*/
void onOverviewShown(boolean fromHome) = 6;
/**
* Get the secondary split screen app's rectangle when not minimized.
* @deprecated
*/
Rect getNonMinimizedSplitScreenSecondaryBounds() = 7;
/**
* Control the {@param alpha} of the option nav bar button (back-button in 2 button mode
* and home handle & background in gestural mode). The {@param animate} is currently only
@@ -94,21 +88,6 @@ interface ISystemUiProxy {
*/
void stopScreenPinning() = 17;
/**
* Handle the provided image as if it was a screenshot.
*
* Deprecated, use handleImageBundleAsScreenshot with image bundle and UserTask
* @deprecated
*/
void handleImageAsScreenshot(in Bitmap screenImage, in Rect locationInScreen,
in Insets visibleInsets, int taskId) = 21;
/**
* Sets the split-screen divider minimized state
* @deprecated
*/
void setSplitScreenMinimized(boolean minimized) = 22;
/*
* Notifies that the swipe-to-home (recents animation) is finished.
*/

View File

@@ -296,12 +296,6 @@ public class OverviewProxyService extends CurrentUserTracker implements
});
}
@Override
public Rect getNonMinimizedSplitScreenSecondaryBounds() {
// Deprecated
return null;
}
@Override
public void setNavBarButtonAlpha(float alpha, boolean animate) {
verifyCallerAndClearCallingIdentityPostMain("setNavBarButtonAlpha", () ->
@@ -348,17 +342,6 @@ public class OverviewProxyService extends CurrentUserTracker implements
});
}
@Override
public void handleImageAsScreenshot(Bitmap screenImage, Rect locationInScreen,
Insets visibleInsets, int taskId) {
// Deprecated
}
@Override
public void setSplitScreenMinimized(boolean minimized) {
// Deprecated
}
@Override
public void notifySwipeToHomeFinished() {
verifyCallerAndClearCallingIdentity("notifySwipeToHomeFinished", () ->