Merge "Send a broadcast when turning grayscale off"
This commit is contained in:
committed by
Android (Google) Code Review
commit
761704809b
@@ -113,8 +113,8 @@ public class GrayscaleConditionController implements ConditionalCardController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void sendBroadcast() {
|
private void sendBroadcast() {
|
||||||
final Intent intent = new Intent();
|
final Intent intent = new Intent(ACTION_GRAYSCALE_CHANGED);
|
||||||
intent.setAction(ACTION_GRAYSCALE_CHANGED);
|
intent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND);
|
||||||
mAppContext.sendBroadcast(intent, Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS);
|
mAppContext.sendBroadcast(intent, Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user