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

Commit ba2546df authored by Matt Pietal's avatar Matt Pietal Committed by Android (Google) Code Review
Browse files

Merge "Crash on device controls availability" into sc-qpr1-dev

parents 4950787a e21597da
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -203,6 +203,7 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL
    private ControlsListingController.ControlsListingCallback mListingCallback =
            new ControlsListingController.ControlsListingCallback() {
                public void onServicesUpdated(List<ControlsServiceInfo> serviceInfos) {
                    post(() -> {
                        boolean available = !serviceInfos.isEmpty();

                        if (available != mControlServicesAvailable) {
@@ -210,6 +211,7 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL
                            updateControlsVisibility();
                            updateAffordanceColors();
                        }
                    });
                }
            };