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

Commit 34d1aee0 authored by Jared Duke's avatar Jared Duke Committed by Android (Google) Code Review
Browse files

Merge "Mark FlashlightListener as weakly referenced" into main

parents 6413fe4a 2afe899c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ package com.android.systemui.statusbar.policy;

import com.android.systemui.Dumpable;
import com.android.systemui.statusbar.policy.FlashlightController.FlashlightListener;
import com.android.systemui.util.annotations.WeaklyReferencedCallback;

public interface FlashlightController extends CallbackController<FlashlightListener>, Dumpable {

@@ -24,6 +25,7 @@ public interface FlashlightController extends CallbackController<FlashlightListe
    boolean isAvailable();
    boolean isEnabled();

    @WeaklyReferencedCallback
    public interface FlashlightListener {

        /**