Add some infrastructure to be able to support Android hardware scaling