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

Commit 58cc0edc authored by Roman Birg's avatar Roman Birg Committed by Gerrit Code Review
Browse files

SystemUI: fix torch toggle delay on boot



Change-Id: I7b1a1a310cf88fdde4250ae40643570016e1f380
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 4741d5b7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ public class TorchTile extends QuickSettingsTile {
            @Override
            public void onClick(View v) {
                Intent i = new Intent(TorchConstants.ACTION_TOGGLE_STATE);
                i.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
                mContext.sendBroadcast(i);
            }
        };