Change to null safe comparison

In rare setups, there are some tests breaking due to the null pointer
exception when doing the hint comparison. Replace the comparison to a
null safe comparison.

Bug: 302768479
Test: atest CtsAutoFillServiceTestCases
Change-Id: Ic9cb586d35d13b039c20fb4f19a8a81565d2c6b6
1 file changed