Fix headphone jack detection

Change-Id: Icfd26a28dd8c895b65021294747271548dcb2acc
Fix bug when txt is empty

Change-Id: Id3e45907c8340f4197fec958d7a8bbb2c62502da
Move display definitions to device

Change-Id: I3519a41051d21ce6025ebad919faef60a48b0cbd