Merge "Fixed a bug in the query to the supported profiles and levels" into gingerbread