4.3 fixes frameworks/base/core + hwlibs

Change-Id: I49739920ae8526bda562be6aa0e093df9f4b0ee1