Catch if an invalid constant is sent

Bug: 227332691
Test: atest SystemUITests:com.android.systemui.media.taptotransfer.receiver

Change-Id: I4c9fc065c7a4c96bf51a2d14a1eb1c7abe543a9a
(cherry picked from commit ba7983e8302de1c34a1e99a1ec8977319cf78ca2)
Merged-In: I4c9fc065c7a4c96bf51a2d14a1eb1c7abe543a9a
2 files changed