commit | e7a7963e9d55b3271adb90c29d538e8fe36c15b5 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Mar 16 16:43:17 2010 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Mar 16 17:28:06 2010 -0700 |
tree | 4111bf05e3e597d563c02eb4d72a9b631f599fb9 | |
parent | 27fa5f5dd554437f67f56059f75e06bd0e8e9538 [diff] |
Add Java 6's java.io.Console. This is actually functional, if you're in the mood to "adb shell". The implementation is based on harmony's, but with the initialization and native code rewritten, with readPassword responsible for echoing a newline (so we don't have to play silly tricks with the ECHONL flag), and a vastly simplified ConsoleReader class. I've also rewritten the documentation. Change-Id: I902b47fb27a8fdb2d6f067bb905ee02c6a10e454