jackpal/Android-Terminal-Emulator — pull request #313 by FrankWestlake (2014-04-27 15:14:21+00:00)
Title: Update RemoteInterface.java

New Intent.data procedure for launching scripts. The new procedure is to build the path and arguments into a Uri and set that into Intent.data.
intent.data(new Uri.Builder().setScheme("File").setPath(path).setFragment(arguments))

The old procedure of using an Extra is still available but is discouraged and will be attempted only if Intent.data is null.

If both Intent.data and the extra are null then an empty string is sent to simply open ATE.