Put contexthub attribute in the correct location.

Test: pass
Change-Id: Ie1a6513f8fa9cb4b007fccefe63ccb78fcd45578