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

Commit 18cd3528 authored by nadlabak's avatar nadlabak
Browse files

Notification power widget: fix flash mode (issue 2593)

Change-Id: I30f591cba639c094e6fdf74aec1b12fb1d7e808d
parent 5ed1fb17
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ public class FlashlightButton extends PowerButton {
                Settings.System.EXPANDED_FLASH_MODE, 0) == 1;
        Intent i = new Intent("net.cactii.flash2.TOGGLE_FLASHLIGHT");
        i.putExtra("bright", bright);
        context.sendBroadcast(new Intent("net.cactii.flash2.TOGGLE_FLASHLIGHT"));
        context.sendBroadcast(i);
    }

    @Override