Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76170480 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Send a broadcast when turning grayscale off"

parents 619211cd 526fb9f8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -113,8 +113,8 @@ public class GrayscaleConditionController implements ConditionalCardController {
    }

    private void sendBroadcast() {
        final Intent intent = new Intent();
        intent.setAction(ACTION_GRAYSCALE_CHANGED);
        final Intent intent = new Intent(ACTION_GRAYSCALE_CHANGED);
        intent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND);
        mAppContext.sendBroadcast(intent, Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS);
    }