sensorservice: Set the rate for pre-1.1 HALs _after_ activation

We want to be sure these are applied in the same sequence they
used to be...

Change-Id: Ied2ba08ed3c4bed3a80bac6ab5471fcea9ba2c09
Merge remote-tracking branch 'CyanogenMod/cm-11.0' into cm-11.0
libgui: Add native window attributes to query usage

This is required to enable GL libraries to query usage
native window attributes to enable/disable tile rendering.

Change-Id: If752fa26ac3d8ffd7776cc5a16fe162af0742df5
Merge remote-tracking branch 'CyanogenMod/cm-11.0' into cm-11.0
Merge remote-tracking branch 'legaCyMod/cm-11.0' into cm-11.0