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 #4339 from pingwang2011/timob-13916

timob-13916:Android: Packaging - Debug information is being printed out to DDMS when packaging to production