Sha256: 8e5fd5013dc1e02eff79cc0002327ff2dfd2a107a4e21f1809ef9f171c7fde05
Contents?: true
Size: 1.03 KB
Versions: 12
Compression:
Stored size: 1.03 KB
Contents
package sh.calaba.instrumentationbackend.actions.search; import sh.calaba.instrumentationbackend.InstrumentationBackend; import sh.calaba.instrumentationbackend.Result; import sh.calaba.instrumentationbackend.actions.Action; public class EnterQueryByIndex implements Action { @Override public Result execute(String... args) { /* final String query = args[0]; final SearchView view = (SearchView) InstrumentationBackend.solo.getView( SearchView.class, Integer.parseInt(args[1]) - 1); InstrumentationBackend.instrumentation.runOnMainSync(new Runnable() { @Override public void run() { view.setQuery(query, true); } }); return Result.successResult(); */ throw new RuntimeException("Not supported in this version. Will be reintroduced when we have a way to support features from newer versions of Android."); } @Override public String key() { return "enter_query_into_numbered_field"; } }
Version data entries
12 entries across 12 versions & 1 rubygems