Fix logic error in SensorInputMapper::createSensor

Since tryGetProperty returns false when it hasn't loaded a property
successfully, the previous code was equivalent to a no-op.

Bug: 272048386
Test: atest inputmapper_tests
Change-Id: I6c95a34dfa24cc86dd9a79096097db04d2400f57
1 file changed