Merge "Clean up some global variables in common.h" am: 80c405f692 am: 168ce56022
am: 6f8e0ede72

Change-Id: If07039b9393d328d88520cf56c95d7727bda5dc3