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

Commit d6ba6ee7 authored by Matt Pietal's avatar Matt Pietal Committed by Automerger Merge Worker
Browse files

Merge "Crash on device controls availability" into sc-qpr1-dev am: ba2546df am: 4e8e52f8

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15533188

Change-Id: Id8827e5fd3903e66788c12ecae84e4cacc172885
parents 7534f450 4e8e52f8
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -204,6 +204,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) {
@@ -211,6 +212,7 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL
                            updateControlsVisibility();
                            updateAffordanceColors();
                        }
                    });
                }
            };