Merge "InputMethodManagerServiceTestBase: make robust against setup failure" into udc-dev
This commit is contained in:
@@ -240,7 +240,9 @@ public class InputMethodManagerServiceTestBase {
|
||||
|
||||
@After
|
||||
public void tearDown() {
|
||||
mInputMethodManagerService.mInputMethodDeviceConfigs.destroy();
|
||||
if (mInputMethodManagerService != null) {
|
||||
mInputMethodManagerService.mInputMethodDeviceConfigs.destroy();
|
||||
}
|
||||
|
||||
if (mServiceThread != null) {
|
||||
mServiceThread.quitSafely();
|
||||
|
||||
Reference in New Issue
Block a user