commit | 5bf3a60eff391a1ace23d910ab7c2116d2cde90d | [log] [tgz] |
---|---|---|
author | Jan Tomljanovic <jtomljanovic@google.com> | Thu Jan 07 17:41:16 2021 +0000 |
committer | Jan Tomljanovic <jtomljanovic@google.com> | Fri Jan 08 17:11:24 2021 +0000 |
tree | 4406011f852af067ba535b8e11adad55612d8035 | |
parent | 82231edfc7aa5e14b0fba7f5ff96f594bb1855aa [diff] |
Switch to controling if toast rate limiting is enabled using TestApi. We tried to use compat changeid to turn rate limiting on/off in CTS tests but it doesn't work on user builds (see bug). We're therefore migrating to using a new TestApi guarded by a new permission that we give to the shell. Test: atest android.widget.cts.ToastTest Bug: 175720818 Change-Id: I2ef147ed6449333fc6b4273eca82bce533cb13f3