commit | 43caafa2b6468c0852b753952d29a4949ee68e46 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Tue Sep 20 16:06:22 2016 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Wed Sep 21 18:53:50 2016 +0000 |
tree | d924487cd85de76ffac4561eb35e8531cf1d57f0 | |
parent | 786cec2f00847fcbb40571e85dea6efe5c3539a6 [diff] |
Don't inform usage stats of interaction for a toast If the process is forced to the foreground due to a toast, don't inform usage stats of an interaction. Otherwise app standby will be defeated easily. Bug: 31544592 Test: cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests#testAppIdle_toast Change-Id: I100d839ef8cf361704fd5db4b26dcc878672a235