Bug 1005209 - Warn anyone looking at the b2g-emulator stdout to look at logcat instead. r=dhylands
authorAnup Kumar <allamsetty.anup@gmail.com>
Wed, 09 Jul 2014 23:15:00 -0400
changeset 193464 5442d1ac6f1d5de4782f78ac1b571d7d60eee238
parent 193463 54d0924bb89599b51cb29a56647b1281d68a4a07
child 193465 5b157a32341775bf226bda8716d820a635fa17e1
push id27121
push userryanvm@gmail.com
push dateFri, 11 Jul 2014 19:59:41 +0000
treeherdermozilla-central@c11ea2f54a6a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdhylands
bugs1005209
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1005209 - Warn anyone looking at the b2g-emulator stdout to look at logcat instead. r=dhylands DONTBUILD
widget/gonk/nsAppShell.cpp
--- a/widget/gonk/nsAppShell.cpp
+++ b/widget/gonk/nsAppShell.cpp
@@ -977,16 +977,21 @@ nsAppShell::Init()
     NS_ENSURE_FALSE(ret, NS_ERROR_UNEXPECTED);
 
     rv = AddFdHandler(signalfds[0], pipeHandler, "");
     NS_ENSURE_SUCCESS(rv, rv);
 
     InitGonkMemoryPressureMonitoring();
 
     if (XRE_GetProcessType() == GeckoProcessType_Default) {
+        printf("*****************************************************************\n");
+        printf("***\n");
+        printf("*** This is stdout. Most of the useful output will be in logcat.\n");
+        printf("***\n");
+        printf("*****************************************************************\n");
 #ifdef MOZ_OMX_DECODER
         android::MediaResourceManagerService::instantiate();
 #endif
 #if ANDROID_VERSION >= 18 && (defined(MOZ_OMX_DECODER) || defined(MOZ_B2G_CAMERA))
         android::FakeSurfaceComposer::instantiate();
 #endif
         GonkPermissionService::instantiate();