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

Commit 1f9bb3e0 authored by Angela Wang's avatar Angela Wang
Browse files

Change isAmbientControlAvailable() visibility to public

To let Settings can retrieve this boolean, expose the method as public.

Flag: EXEMPT bugfix
Test: manual test with real device
Bug: 388156028
Change-Id: I47568d1fb3decc8d79cc4968210cb759010164be
parent 62121fc9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -459,7 +459,7 @@ public class AmbientVolumeUiController implements
    }

    /** Checks if any device in the same set has valid ambient control points */
    private boolean isAmbientControlAvailable() {
    public boolean isAmbientControlAvailable() {
        for (BluetoothDevice device : mSideToDeviceMap.values()) {
            if (mShowUiWhenLocalDataExist) {
                // Found local ambient data