summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Dave Mankoff <mankoff@google.com> 2023-03-03 17:50:53 +0000
committer Dave Mankoff <mankoff@google.com> 2023-03-03 23:36:17 +0000
commit72546267baa009bf7e5a49cd954c757ccf7be62f (patch)
tree9d148f9c22d020d00258e367e7c4955073402082 /libs/androidfw/FileStream.cpp
parentaee5a4332a78d2132e768b07acd6a35fe75a3e13 (diff)
Delay restarting SystemUI on debug builds.
When a flag changes, delay restarting systemui by 1 second after the screen goes idle. This prevents a race condition with entering dream/doze/aod. Also, refactor `FeatureFlagsReleaseRestarter` and `FeatureFlagsDebugRestarter` into `ConditionalRestarter`, since they share a great deal of the same functionality. This also has the nice effect of making the tests smaller and more focused. Fixes: 268060399 Test: atest SystemUITest && manual testing Change-Id: Iae7ddc5965a95c72d35caafc2c90b267be7c3a6d
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions