use of android.app.UiAutomationConnection in project android_frameworks_base by crdroidandroid.
the class UiAutomationShellWrapper method connect.
public void connect() {
if (mHandlerThread.isAlive()) {
throw new IllegalStateException("Already connected!");
}
mHandlerThread.start();
mUiAutomation = new UiAutomation(mHandlerThread.getLooper(), new UiAutomationConnection());
mUiAutomation.connect();
}
Aggregations