Cleanup IPinnedStackController and IPinnedStackListener 2/N

Deprecates the following
- IPinnedStackListener#onConfigurationChanged, switched to use
  onConfigurationChanged callback in WMShell
- IPinnedStackListener#onDisplayInfoChanged, switched to use
  DisplayChangeController

Bug: 174702196
Test: atest WMShellUnitTests
Change-Id: Id2161883bd520c99888a561ae058154da06ecb51
This commit is contained in:
Hongwei Wang
2020-12-03 12:04:20 -08:00
parent 8fac2df868
commit f1de2b6e76
12 changed files with 33 additions and 99 deletions

View File

@@ -57,19 +57,6 @@ oneway interface IPinnedStackListener {
*/
void onActivityHidden(in ComponentName componentName);
/**
* Called when the window manager has detected change on DisplayInfo, or
* when the listener is first registered to allow the listener to synchronized its state with
* the controller.
*/
void onDisplayInfoChanged(in DisplayInfo displayInfo);
/**
* Called by the window manager at the beginning of a configuration update cascade
* since the metrics from these resources are used for bounds calculations.
*/
void onConfigurationChanged();
/**
* Called by the window manager when the aspect ratio is reset.
*/