Merge "Added flush() for bluetooth output stream" into jb-mr2-dev