Fix for android logging code.