Rename method clearing sessions appropriately
Bug: 205676419 Test: make Change-Id: I92c43548a275f358e382a260314bb6fa4546ab42
This commit is contained in:
@@ -342,7 +342,7 @@ final class InputMethodBindingController {
|
||||
// We consider this to be a new bind attempt, since the system
|
||||
// should now try to restart the service for us.
|
||||
mLastBindTime = SystemClock.uptimeMillis();
|
||||
mService.clearCurMethodLocked();
|
||||
mService.clearClientSessionsLocked();
|
||||
mService.clearInputShowRequestLocked();
|
||||
mService.unbindCurrentClientLocked(UnbindReason.DISCONNECT_IME);
|
||||
}
|
||||
@@ -366,7 +366,7 @@ final class InputMethodBindingController {
|
||||
}
|
||||
|
||||
mCurId = null;
|
||||
mService.clearCurMethodLocked();
|
||||
mService.clearClientSessionsLocked();
|
||||
}
|
||||
|
||||
@GuardedBy("mMethodMap")
|
||||
|
||||
@@ -2589,7 +2589,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
|
||||
}
|
||||
|
||||
@GuardedBy("mMethodMap")
|
||||
void clearCurMethodLocked() {
|
||||
void clearClientSessionsLocked() {
|
||||
if (getCurMethod() != null) {
|
||||
final int numClients = mClients.size();
|
||||
for (int i = 0; i < numClients; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user