Fix bug in passing of context flags and version.
Fix bug in passing of context flags and version.

Change-Id: Id20906f6f47b573d881025453a3b6356bcf6e9c7

xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base