Bug 1002509 - Warn anyone looking at the b2g-emulator stdout to look at logcat instead. r=dhylands
☠☠ backed out by 54d0924bb895 ☠ ☠
authorAnup Kumar <allamsetty.anup@gmail.com>
Wed, 09 Jul 2014 23:15:00 -0400
changeset 193460 c3cca6dfcaa746491d440e5508c60d7e65e5097d
parent 193459 316e0aeca480df37aa736621ff46c8d46c44419e
child 193461 97ed5d7ce52ffda21f996bc3bec265c2a77e57ff
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
bugs1002509
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 1002509 - Warn anyone looking at the b2g-emulator stdout to look at logcat instead. r=dhylands
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();