Merge "Remove hideCurrentInputMethod from RecentsAnimationController" into tm-qpr-dev
This commit is contained in:
@@ -79,11 +79,6 @@ interface IRecentsAnimationController {
|
|||||||
@UnsupportedAppUsage
|
@UnsupportedAppUsage
|
||||||
void setAnimationTargetsBehindSystemBars(boolean behindSystemBars);
|
void setAnimationTargetsBehindSystemBars(boolean behindSystemBars);
|
||||||
|
|
||||||
/**
|
|
||||||
* Hides the current input method if one is showing.
|
|
||||||
*/
|
|
||||||
void hideCurrentInputMethod();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clean up the screenshot of previous task which was created during recents animation that
|
* Clean up the screenshot of previous task which was created during recents animation that
|
||||||
* was cancelled by a stack order change.
|
* was cancelled by a stack order change.
|
||||||
|
|||||||
@@ -65,14 +65,6 @@ public class RecentsAnimationControllerCompat {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void hideCurrentInputMethod() {
|
|
||||||
try {
|
|
||||||
mAnimationController.hideCurrentInputMethod();
|
|
||||||
} catch (RemoteException e) {
|
|
||||||
Log.e(TAG, "Failed to set hide input method", e);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the final surface transaction on a Task. This is used by Launcher to notify the system
|
* Sets the final surface transaction on a Task. This is used by Launcher to notify the system
|
||||||
* that animating Activity to PiP has completed and the associated task surface should be
|
* that animating Activity to PiP has completed and the associated task surface should be
|
||||||
|
|||||||
@@ -369,10 +369,6 @@ public class RemoteTransitionCompat implements Parcelable {
|
|||||||
if (mWrapped != null) mWrapped.setAnimationTargetsBehindSystemBars(behindSystemBars);
|
if (mWrapped != null) mWrapped.setAnimationTargetsBehindSystemBars(behindSystemBars);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public void hideCurrentInputMethod() {
|
|
||||||
mWrapped.hideCurrentInputMethod();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override public void setFinishTaskTransaction(int taskId,
|
@Override public void setFinishTaskTransaction(int taskId,
|
||||||
PictureInPictureSurfaceTransaction finishTransaction, SurfaceControl overlay) {
|
PictureInPictureSurfaceTransaction finishTransaction, SurfaceControl overlay) {
|
||||||
mPipTransaction = finishTransaction;
|
mPipTransaction = finishTransaction;
|
||||||
|
|||||||
@@ -352,10 +352,6 @@ public class RecentsAnimationController implements DeathRecipient {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(b/166736352): Remove this method without the need to expose to launcher.
|
|
||||||
@Override
|
|
||||||
public void hideCurrentInputMethod() { }
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setDeferCancelUntilNextTransition(boolean defer, boolean screenshot) {
|
public void setDeferCancelUntilNextTransition(boolean defer, boolean screenshot) {
|
||||||
synchronized (mService.mGlobalLock) {
|
synchronized (mService.mGlobalLock) {
|
||||||
|
|||||||
Reference in New Issue
Block a user