OSDN Git Service

Broadcast an intent after turning off Grayscale
authorMill Chen <millchen@google.com>
Mon, 25 Mar 2019 23:07:47 +0000 (16:07 -0700)
committerMill Chen <millchen@google.com>
Tue, 26 Mar 2019 18:37:16 +0000 (11:37 -0700)
commit6d90cdfea7c0a0a9d7158a19a6642c4bc7a0450b
tree68f74a6e628e08e0aac727406e1e618d0b285943
parentc5dd4e503c57acf8ddc0599a672da4c7f296aeaf
Broadcast an intent after turning off Grayscale

Settings will send a broadcast when the user disable Grayscale in
Settings. Also, Settings registers a broadcast receiver to monitor the
status changed of Grayscale.

Bug: 118387886
Test: robotests
Change-Id: I92d1b9adf7a600b4abac943ebbd5a11d02d3d1b8
src/com/android/settings/homepage/contextualcards/conditional/GrayscaleConditionController.java
tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/GrayscaleConditionControllerTest.java