Fix flaky test

Prevents NPE in test by inverting the order of equals.

Also, to make the test more independent, set the setting in setup

Test: atest QSTileHostTest after deleting the setting
Bug: 138516392

Change-Id: I7093cafaecaa6922c4dc07bcbdaed4b5c08aae60
1 file changed