Skip to content
Commit 95df9788 authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

Fix affordance in lockscreen and dream

If there is at least one panel (resolved), we should show the
affordance, even when we have no favorites.

Also, fix a bug in ControlsUiController.resolveActivity: anyPanels
should use `List.any`.

Test: atest DreamHomeControlsComplicationTest
Test: atest HomeControlsKeyguardQuickAffordanceConfigParameterizedTest
Test: atest ControlsUiControllerImplTest
Test: manual on lockscreen and dream
Test: launch device controls from tile for first time
Fixes: 261751925

Change-Id: I832473d243746015a1f20a7fa9b6d0e05d6c668c
parent 6ecaf458
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment