Merge "Rename IInputMethodManager#reportPerceptible" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c9eaa3d80f
@@ -581,7 +581,7 @@ public final class InputMethodManager {
|
||||
*/
|
||||
public void reportPerceptible(IBinder windowToken, boolean perceptible) {
|
||||
try {
|
||||
mService.reportPerceptible(windowToken, perceptible);
|
||||
mService.reportPerceptibleAsync(windowToken, perceptible);
|
||||
} catch (RemoteException e) {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ interface IInputMethodManager {
|
||||
oneway void reportActivityView(in IInputMethodClient parentClient, int childDisplayId,
|
||||
in float[] matrixValues, in IVoidResultCallback resultCallback);
|
||||
|
||||
oneway void reportPerceptible(in IBinder windowToken, boolean perceptible);
|
||||
oneway void reportPerceptibleAsync(in IBinder windowToken, boolean perceptible);
|
||||
/** Remove the IME surface. Requires INTERNAL_SYSTEM_WINDOW permission. */
|
||||
oneway void removeImeSurface(in IVoidResultCallback resultCallback);
|
||||
/** Remove the IME surface. Requires passing the currently focused window. */
|
||||
|
||||
@@ -3177,7 +3177,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
|
||||
|
||||
@BinderThread
|
||||
@Override
|
||||
public void reportPerceptible(IBinder windowToken, boolean perceptible) {
|
||||
public void reportPerceptibleAsync(IBinder windowToken, boolean perceptible) {
|
||||
Objects.requireNonNull(windowToken, "windowToken must not be null");
|
||||
int uid = Binder.getCallingUid();
|
||||
synchronized (mMethodMap) {
|
||||
|
||||
@@ -1840,7 +1840,7 @@ public final class MultiClientInputMethodManagerService {
|
||||
|
||||
@BinderThread
|
||||
@Override
|
||||
public void reportPerceptible(IBinder windowClient, boolean perceptible) {
|
||||
public void reportPerceptibleAsync(IBinder windowClient, boolean perceptible) {
|
||||
reportNotSupported();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user