Remove deprecated methods from SysUiProxy
Bug: 233006032 Change-Id: If934c96245eb782d7905334421d437a8b45bd801
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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", () ->
|
||||
|
||||
Reference in New Issue
Block a user