Change "checkTidValid" to only call into AM if necessary

Currently calling into AM during createHintSession causes a lot
of overhead in situations where it isn't really needed. This patch
just makes the call lazy and only evaluates it if it's necessary to
fully check the tid list.

Bug: 272002264
Test: manual
Change-Id: I547010f2fac1d3128527d456ccb82ad68b277d3a
1 file changed