OSDN Git Service

Fix visibility of settings on channel page
authorJulia Reynolds <juliacr@google.com>
Wed, 10 Apr 2019 13:57:02 +0000 (09:57 -0400)
committerJulia Reynolds <juliacr@google.com>
Wed, 10 Apr 2019 13:57:02 +0000 (09:57 -0400)
commit2290e284ec4e275bb95b5e8803efb4ee7684cb9d
tree705b500d488d425f5353e62e932df1f99765d9ed
parent3c2d168026b5f728035af0c4b66e34ee9ebda459
Fix visibility of settings on channel page

Properly hide fields if the parent app or group
is blocked. This is needed because apps can link
directly to this screen.

Test: atest
Fixes: 130184191
Change-Id: I8c39410574940615fbb607a201e20e480ec02d87
src/com/android/settings/notification/ImportancePreferenceController.java
src/com/android/settings/notification/NotificationPreferenceController.java
tests/robotests/src/com/android/settings/notification/ImportancePreferenceControllerTest.java
tests/robotests/src/com/android/settings/notification/NotificationPreferenceControllerTest.java