b0c7c914eb7ee6ac134beb69bddf2c4791cca410 |
|
09-Dec-2013 |
Narayan Kamath <narayan@google.com> |
Fix inconsistency in LoggingPrintStream. LoggingPrintStream prints "null" for null strings from print(String) but throws an NPE from println(String). Fix this by delegating to the underlying builder (and avoiding the "fast" path when the input String == null) bug: https://code.google.com/p/android/issues/detail?id=63380 Change-Id: I89c5c12db6ed5af8037d46f67369b38c5b4cbc9f
/frameworks/base/core/java/com/android/internal/os/LoggingPrintStream.java
|
f41de2a4a1c22e3f3ee9a8cd65ec7997c9587cdb |
|
18-Dec-2009 |
Jesse Wilson <jessewilson@google.com> |
Adding support for LoggingPrintStream.write(byte[]) and friends. By default, Android's System.out and System.err are implemented by the AndroidPrintStream subclass of LoggingPrintStream. Until now, that class has silently discarded the raw bytes it has received. This causes two problems: Applications may be accidentally wasting CPU+memory writing to System.out. By making this output visible, the developers of such applications can silence the problem at the source. Application developers may be purposefully writing to these streams and perplexed by the data's disappearance. For example, the core library's own java.util.logging.ConsoleHandler sends its log data into this black hole. By making the data visible, we save the data and remove an unnecessary sharp edge from our API.
/frameworks/base/core/java/com/android/internal/os/LoggingPrintStream.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/com/android/internal/os/LoggingPrintStream.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/com/android/internal/os/LoggingPrintStream.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/com/android/internal/os/LoggingPrintStream.java
|