In PagedTileLayout:
* Make sure that each page displays at least 1 tile (never 0).
* Make sure that there's at least one page (even if it's empty)
In QSTileHost:
* If the new value of sysui_qs_tiles produces no tiles (but it's not set
to empty), set the tile set to the empty default
@string/quick_settings_tiles
Test: adb shell settings put secure sysui_qs_tiles not-a-valid-tile-spec
Test: atest QSTileHostTest
Fixes: 135023694
Fixes: 135677464
Change-Id: I1e5cf4d2688370001ecae87fc0272acecd48af73
We're seeing crashes due to view hierarchy violations that shouldn't be
possible. Adding some guards to make sure we aren't running into
off-thread hierarchy manipulation or re-entrant calls to the update
code.
Test: manual
Bug: 135018709
Change-Id: I4b1f2bd7e3a6f80384486d59b9f56fc3713537cf
Settings.Secure string for clock face may be JSON so that it can contain
the timestamp that it was set for logging purposes.
Bug: 134687399
Test: Added SettingsWrapperTest
Change-Id: I50afba479c30029428819c6616ca754db681a2b4
* changes:
Add ZigZagClassifier to the BrightLineFalsingManager.
Add ProximityClassifier to the BrightLineFalsingManager
Add DistanceClassifier to the BrightLineFalsingManager
Add DiagonalClassifier to the BrightLineFalsingManager.
Add TypeClassifier to the BrightLineFalsingManager.
Add PointerCountClassifier to the BrightLineFalsingManager.
Add base class for new falsing manager and classifiers.
* changes:
Continued the bypass experience
Changing the lockscreen layout for the bypass
Enabling auth to succeed whenever the bouncer is showing
Enabled dragging down from the lock screen when bypassing
Made sure huns can show on the lock screen even when awake
Previously this was tied to the removed statusbar setting.
We're making them consistent with the setting of the appearnace
on the lockscreen.
Bug: 135627468
Test: atest SystemUITests
Change-Id: Ia64238f30620d9906aa50c2469121c2653875e8d
The lock icon now hides as soon as the notifications are showing
to avoid the overlap introduced in the previous CL.
We're also introducing a new listener that one can listen to
for when the notifications are fully hidden.
That same listener is now used to hide and show the aod icons
Bug: 130327302
Change-Id: I5694a38e542b82bf2738d66bdff28d122a9f89e7
The notifications are now on the top and the user
can drag down to the full shade from there directly.
The quick settings header also comes down while
expanding from the pulse.
Bug: 130327302
Change-Id: I488f90aacd5912eda6f9423dc76862f06230d793
The pulseExpansionHandler now also works on the lockscreen.
This also delays the bypass when the user is currently
dragging down.
Bug: 134094877
Bug: 130327302
Test: atest SystemUITests
Change-Id: I8d5b5b53e9a68e08933866df6831ecbada41ce43
This rejects swipes that wiggle around too much. Swipes
should be mostly straight.
Bug: 111394067
Test: atest SystemUITests
Change-Id: I43aa1cc62abb47ce43423c3c7c8e58c14dc0db03
This requires swipes to travel a minimum distance and/or
fling a minimum distance.
Bug: 111394067
Test: atest SystemUITests
Change-Id: Id7586011a30fdcd9dfef7c937f22c33564829307
This requires swipes to travel a minimum distance and/or
fling a minimum distance.
Bug: 111394067
Test: atest SystemUITests
Change-Id: Iec90bb73b4108ce803f9247ebc30046e8c1a6a2d
This matches an existing falsing classifier that ensure
the general direction of a swipe matches the intended action
(i.e. dismissing a notification should be side to side.)
Bug: 111394067
Test: atest SystemUITests
Change-Id: I861ff0443df6051561991808a760250a68b588fd
False on the lock screen if more than one pointer is detected.
Bug: 111394067
Test: atest SystemUITests
Change-Id: Ibffc78d024644adfcfa2713083b03795a11cecb6
This adds no functional changes. It merely adds the framework
for a new FalsingManager.
Change-Id: I7f0e3b1363c847fa1eefa54bf7793508fefd1926
Test: manual.
Bug: 111394067