Check the tile's state before handling long clicks

Some tiles do not handle long clicks

Test: manually
Flag: com.android.systemui.qs_ui_refactor_compose_fragment
Fixes: 374089977
Change-Id: I422b05b4301d106025e672b371aea809889c4e05
3 files changed