timob-13916: don't log debug message when it's in package mode
timob-13916: should check the DBG flag in logInternal()
Merge pull request #4341 from pingwang2011/timob-13916-3_1_X

Timob 13916 3 1 x: Android: Packaging - Debug information is being printed out to DDMS when packaging to production