RESTRICT AUTOMERGE
CTS for verifying toasts are not clickable

To verify this, we:
* Allow reflection via hidden_api_policy setting (to make sure we can construct
  a clickable toast).
* Send broadcast to app to post a toast.
* App posts toast and waits for it to be displayed, communicating back
  to test.
* Test clicks toast and waits for the tap to be propagated back.
* If click is received, test fails, otherwise, succeeds.

Bug: 128674520
Test: atest CtsWindowManagerDeviceTestCases:ToastTest
      1) Passes with ag/9585932
      2) Fails without ag/9585932

Change-Id: I6d2903477f8ea86c75d6415890f443414751ab84
6 files changed