Merge "Check for null HAT and add logging" into rvc-dev am: 90b27662ed

Change-Id: Ie3fdc8ecf7b80d25a52691b1cae2e659696d821a