OSDN Git Service

Fix migration of O DND visual effects settings
authorJulia Reynolds <juliacr@google.com>
Thu, 12 Jul 2018 18:24:56 +0000 (14:24 -0400)
committerJulia Reynolds <juliacr@google.com>
Wed, 18 Jul 2018 16:38:13 +0000 (12:38 -0400)
commit4501387821091f4f1047ff629d61978f3db3f9ed
tree31c82defcdfabd4ed64b037965851abd6a198b11
parent3e2d62bd86e91f3dc62a8c323b84c4b90bf1d79e
Fix migration of O DND visual effects settings

In O the settings were in the 'allow' section, not the 'disallow'
section, so the conditional needs to be reversed.

Test: runtest systemui-notification, manual
Change-Id: Icfcb328ac1d44b83b11d185be40c4ec696ebfb25
Fixes: 111313535
core/java/android/service/notification/ZenModeConfig.java
services/tests/uiservicestests/src/com/android/server/notification/ZenModeHelperTest.java