commit | 6fd71484b54767c893abb58e90b6881185aefed1 | [log] [tgz] |
---|---|---|
author | Julia Reynolds <juliacr@google.com> | Wed Feb 23 12:51:45 2022 -0500 |
committer | Julia Reynolds <juliacr@google.com> | Wed Feb 23 12:51:45 2022 -0500 |
tree | 07367af771e0d97cdc71d5fb27c57e6b479e1934 | |
parent | de08d984efb7d29c1c00d4fbf55177ece308fd10 [diff] |
Remove unnecessary async Because if the work wasn't scheduled by the time the main page was shown, the switch would be shown in the wrong state. And these calls are fast, and can be done on the main thread Test: turn off DND access for apps with DND rules Fixes: 207058117 Change-Id: I186413f4237ef754bdfa5cc469e1b7be4ff71f2c